diff --git a/lib/src/data/base/user.dart b/lib/src/data/base/user.dart index 6249e440..e284bd78 100644 --- a/lib/src/data/base/user.dart +++ b/lib/src/data/base/user.dart @@ -232,6 +232,7 @@ class UserDetailedNotMeWithRelations required bool isRenoteMuted, Notify? notify, bool? withReplies, + String? followedMessage, }) = _UserDetailedNotMeWithRelations; factory UserDetailedNotMeWithRelations.fromJson(Map json) => @@ -291,6 +292,7 @@ class MeDetailed with _$MeDetailed implements UserDetailed { String? moderationNote, String? avatarId, String? bannerId, + String? followedMessage, required bool isModerator, required bool isAdmin, required bool injectFeaturedNote, diff --git a/lib/src/data/base/user.freezed.dart b/lib/src/data/base/user.freezed.dart index 8fda8f1d..7eebbc9b 100644 --- a/lib/src/data/base/user.freezed.dart +++ b/lib/src/data/base/user.freezed.dart @@ -1852,6 +1852,7 @@ mixin _$UserDetailedNotMeWithRelations { bool get isRenoteMuted => throw _privateConstructorUsedError; Notify? get notify => throw _privateConstructorUsedError; bool? get withReplies => throw _privateConstructorUsedError; + String? get followedMessage => throw _privateConstructorUsedError; Map toJson() => throw _privateConstructorUsedError; @JsonKey(ignore: true) @@ -1925,7 +1926,8 @@ abstract class $UserDetailedNotMeWithRelationsCopyWith<$Res> { bool isMuted, bool isRenoteMuted, Notify? notify, - bool? withReplies}); + bool? withReplies, + String? followedMessage}); $UserInstanceInfoCopyWith<$Res>? get instance; } @@ -2002,6 +2004,7 @@ class _$UserDetailedNotMeWithRelationsCopyWithImpl<$Res, Object? isRenoteMuted = null, Object? notify = freezed, Object? withReplies = freezed, + Object? followedMessage = freezed, }) { return _then(_value.copyWith( id: null == id @@ -2236,6 +2239,10 @@ class _$UserDetailedNotMeWithRelationsCopyWithImpl<$Res, ? _value.withReplies : withReplies // ignore: cast_nullable_to_non_nullable as bool?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, ) as $Val); } @@ -2319,7 +2326,8 @@ abstract class _$$UserDetailedNotMeWithRelationsImplCopyWith<$Res> bool isMuted, bool isRenoteMuted, Notify? notify, - bool? withReplies}); + bool? withReplies, + String? followedMessage}); @override $UserInstanceInfoCopyWith<$Res>? get instance; @@ -2396,6 +2404,7 @@ class __$$UserDetailedNotMeWithRelationsImplCopyWithImpl<$Res> Object? isRenoteMuted = null, Object? notify = freezed, Object? withReplies = freezed, + Object? followedMessage = freezed, }) { return _then(_$UserDetailedNotMeWithRelationsImpl( id: null == id @@ -2630,6 +2639,10 @@ class __$$UserDetailedNotMeWithRelationsImplCopyWithImpl<$Res> ? _value.withReplies : withReplies // ignore: cast_nullable_to_non_nullable as bool?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, )); } } @@ -2696,7 +2709,8 @@ class _$UserDetailedNotMeWithRelationsImpl required this.isMuted, required this.isRenoteMuted, this.notify, - this.withReplies}) + this.withReplies, + this.followedMessage}) : _avatarDecorations = avatarDecorations, _emojis = emojis, _badgeRoles = badgeRoles, @@ -2917,10 +2931,12 @@ class _$UserDetailedNotMeWithRelationsImpl final Notify? notify; @override final bool? withReplies; + @override + final String? followedMessage; @override String toString() { - return 'UserDetailedNotMeWithRelations(id: $id, name: $name, username: $username, host: $host, avatarUrl: $avatarUrl, avatarBlurhash: $avatarBlurhash, avatarDecorations: $avatarDecorations, isBot: $isBot, isCat: $isCat, instance: $instance, emojis: $emojis, onlineStatus: $onlineStatus, badgeRoles: $badgeRoles, url: $url, uri: $uri, movedTo: $movedTo, alsoKnownAs: $alsoKnownAs, createdAt: $createdAt, updatedAt: $updatedAt, lastFetchedAt: $lastFetchedAt, bannerUrl: $bannerUrl, bannerBlurhash: $bannerBlurhash, isLocked: $isLocked, isSilenced: $isSilenced, isSuspended: $isSuspended, description: $description, location: $location, birthday: $birthday, lang: $lang, fields: $fields, verifiedLinks: $verifiedLinks, followersCount: $followersCount, followingCount: $followingCount, notesCount: $notesCount, pinnedNoteIds: $pinnedNoteIds, pinnedNotes: $pinnedNotes, pinnedPageId: $pinnedPageId, pinnedPage: $pinnedPage, publicReactions: $publicReactions, ffVisibility: $ffVisibility, followersVisibility: $followersVisibility, followingVisibility: $followingVisibility, twoFactorEnabled: $twoFactorEnabled, usePasswordLessLogin: $usePasswordLessLogin, securityKeys: $securityKeys, roles: $roles, memo: $memo, moderationNote: $moderationNote, isFollowing: $isFollowing, isFollowed: $isFollowed, hasPendingFollowRequestFromYou: $hasPendingFollowRequestFromYou, hasPendingFollowRequestToYou: $hasPendingFollowRequestToYou, isBlocking: $isBlocking, isBlocked: $isBlocked, isMuted: $isMuted, isRenoteMuted: $isRenoteMuted, notify: $notify, withReplies: $withReplies)'; + return 'UserDetailedNotMeWithRelations(id: $id, name: $name, username: $username, host: $host, avatarUrl: $avatarUrl, avatarBlurhash: $avatarBlurhash, avatarDecorations: $avatarDecorations, isBot: $isBot, isCat: $isCat, instance: $instance, emojis: $emojis, onlineStatus: $onlineStatus, badgeRoles: $badgeRoles, url: $url, uri: $uri, movedTo: $movedTo, alsoKnownAs: $alsoKnownAs, createdAt: $createdAt, updatedAt: $updatedAt, lastFetchedAt: $lastFetchedAt, bannerUrl: $bannerUrl, bannerBlurhash: $bannerBlurhash, isLocked: $isLocked, isSilenced: $isSilenced, isSuspended: $isSuspended, description: $description, location: $location, birthday: $birthday, lang: $lang, fields: $fields, verifiedLinks: $verifiedLinks, followersCount: $followersCount, followingCount: $followingCount, notesCount: $notesCount, pinnedNoteIds: $pinnedNoteIds, pinnedNotes: $pinnedNotes, pinnedPageId: $pinnedPageId, pinnedPage: $pinnedPage, publicReactions: $publicReactions, ffVisibility: $ffVisibility, followersVisibility: $followersVisibility, followingVisibility: $followingVisibility, twoFactorEnabled: $twoFactorEnabled, usePasswordLessLogin: $usePasswordLessLogin, securityKeys: $securityKeys, roles: $roles, memo: $memo, moderationNote: $moderationNote, isFollowing: $isFollowing, isFollowed: $isFollowed, hasPendingFollowRequestFromYou: $hasPendingFollowRequestFromYou, hasPendingFollowRequestToYou: $hasPendingFollowRequestToYou, isBlocking: $isBlocking, isBlocked: $isBlocked, isMuted: $isMuted, isRenoteMuted: $isRenoteMuted, notify: $notify, withReplies: $withReplies, followedMessage: $followedMessage)'; } @override @@ -3028,7 +3044,8 @@ class _$UserDetailedNotMeWithRelationsImpl (identical(other.isMuted, isMuted) || other.isMuted == isMuted) && (identical(other.isRenoteMuted, isRenoteMuted) || other.isRenoteMuted == isRenoteMuted) && (identical(other.notify, notify) || other.notify == notify) && - (identical(other.withReplies, withReplies) || other.withReplies == withReplies)); + (identical(other.withReplies, withReplies) || other.withReplies == withReplies) && + (identical(other.followedMessage, followedMessage) || other.followedMessage == followedMessage)); } @JsonKey(ignore: true) @@ -3092,7 +3109,8 @@ class _$UserDetailedNotMeWithRelationsImpl isMuted, isRenoteMuted, notify, - withReplies + withReplies, + followedMessage ]); @JsonKey(ignore: true) @@ -3171,7 +3189,8 @@ abstract class _UserDetailedNotMeWithRelations required final bool isMuted, required final bool isRenoteMuted, final Notify? notify, - final bool? withReplies}) = _$UserDetailedNotMeWithRelationsImpl; + final bool? withReplies, + final String? followedMessage}) = _$UserDetailedNotMeWithRelationsImpl; factory _UserDetailedNotMeWithRelations.fromJson(Map json) = _$UserDetailedNotMeWithRelationsImpl.fromJson; @@ -3305,6 +3324,8 @@ abstract class _UserDetailedNotMeWithRelations @override bool? get withReplies; @override + String? get followedMessage; + @override @JsonKey(ignore: true) _$$UserDetailedNotMeWithRelationsImplCopyWith< _$UserDetailedNotMeWithRelationsImpl> @@ -3380,6 +3401,7 @@ mixin _$MeDetailed { String? get moderationNote => throw _privateConstructorUsedError; String? get avatarId => throw _privateConstructorUsedError; String? get bannerId => throw _privateConstructorUsedError; + String? get followedMessage => throw _privateConstructorUsedError; bool get isModerator => throw _privateConstructorUsedError; bool get isAdmin => throw _privateConstructorUsedError; bool get injectFeaturedNote => throw _privateConstructorUsedError; @@ -3484,6 +3506,7 @@ abstract class $MeDetailedCopyWith<$Res> { String? moderationNote, String? avatarId, String? bannerId, + String? followedMessage, bool isModerator, bool isAdmin, bool injectFeaturedNote, @@ -3586,6 +3609,7 @@ class _$MeDetailedCopyWithImpl<$Res, $Val extends MeDetailed> Object? moderationNote = freezed, Object? avatarId = freezed, Object? bannerId = freezed, + Object? followedMessage = freezed, Object? isModerator = null, Object? isAdmin = null, Object? injectFeaturedNote = null, @@ -3820,6 +3844,10 @@ class _$MeDetailedCopyWithImpl<$Res, $Val extends MeDetailed> ? _value.bannerId : bannerId // ignore: cast_nullable_to_non_nullable as String?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, isModerator: null == isModerator ? _value.isModerator : isModerator // ignore: cast_nullable_to_non_nullable @@ -4040,6 +4068,7 @@ abstract class _$$MeDetailedImplCopyWith<$Res> String? moderationNote, String? avatarId, String? bannerId, + String? followedMessage, bool isModerator, bool isAdmin, bool injectFeaturedNote, @@ -4143,6 +4172,7 @@ class __$$MeDetailedImplCopyWithImpl<$Res> Object? moderationNote = freezed, Object? avatarId = freezed, Object? bannerId = freezed, + Object? followedMessage = freezed, Object? isModerator = null, Object? isAdmin = null, Object? injectFeaturedNote = null, @@ -4377,6 +4407,10 @@ class __$$MeDetailedImplCopyWithImpl<$Res> ? _value.bannerId : bannerId // ignore: cast_nullable_to_non_nullable as String?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, isModerator: null == isModerator ? _value.isModerator : isModerator // ignore: cast_nullable_to_non_nullable @@ -4563,6 +4597,7 @@ class _$MeDetailedImpl implements _MeDetailed { this.moderationNote, this.avatarId, this.bannerId, + this.followedMessage, required this.isModerator, required this.isAdmin, required this.injectFeaturedNote, @@ -4807,6 +4842,8 @@ class _$MeDetailedImpl implements _MeDetailed { @override final String? bannerId; @override + final String? followedMessage; + @override final bool isModerator; @override final bool isAdmin; @@ -4926,7 +4963,7 @@ class _$MeDetailedImpl implements _MeDetailed { @override String toString() { - return 'MeDetailed(id: $id, name: $name, username: $username, host: $host, avatarUrl: $avatarUrl, avatarBlurhash: $avatarBlurhash, avatarDecorations: $avatarDecorations, isBot: $isBot, isCat: $isCat, instance: $instance, emojis: $emojis, onlineStatus: $onlineStatus, badgeRoles: $badgeRoles, url: $url, uri: $uri, movedTo: $movedTo, alsoKnownAs: $alsoKnownAs, createdAt: $createdAt, updatedAt: $updatedAt, lastFetchedAt: $lastFetchedAt, bannerUrl: $bannerUrl, bannerBlurhash: $bannerBlurhash, isLocked: $isLocked, isSilenced: $isSilenced, isSuspended: $isSuspended, description: $description, location: $location, birthday: $birthday, lang: $lang, fields: $fields, verifiedLinks: $verifiedLinks, followersCount: $followersCount, followingCount: $followingCount, notesCount: $notesCount, pinnedNoteIds: $pinnedNoteIds, pinnedNotes: $pinnedNotes, pinnedPageId: $pinnedPageId, pinnedPage: $pinnedPage, publicReactions: $publicReactions, ffVisibility: $ffVisibility, followersVisibility: $followersVisibility, followingVisibility: $followingVisibility, twoFactorEnabled: $twoFactorEnabled, usePasswordLessLogin: $usePasswordLessLogin, securityKeys: $securityKeys, roles: $roles, memo: $memo, moderationNote: $moderationNote, avatarId: $avatarId, bannerId: $bannerId, isModerator: $isModerator, isAdmin: $isAdmin, injectFeaturedNote: $injectFeaturedNote, receiveAnnouncementEmail: $receiveAnnouncementEmail, alwaysMarkNsfw: $alwaysMarkNsfw, autoSensitive: $autoSensitive, carefulBot: $carefulBot, autoAcceptFollowed: $autoAcceptFollowed, preventAiLearning: $preventAiLearning, noCrawle: $noCrawle, isExplorable: $isExplorable, isDeleted: $isDeleted, twoFactorBackupCodesStock: $twoFactorBackupCodesStock, hideOnlineStatus: $hideOnlineStatus, hasUnreadSpecifiedNotes: $hasUnreadSpecifiedNotes, hasUnreadMentions: $hasUnreadMentions, hasUnreadAnnouncement: $hasUnreadAnnouncement, hasUnreadAntenna: $hasUnreadAntenna, hasUnreadChannel: $hasUnreadChannel, hasUnreadNotification: $hasUnreadNotification, hasPendingReceivedFollowRequest: $hasPendingReceivedFollowRequest, unreadNotificationsCount: $unreadNotificationsCount, unreadAnnouncements: $unreadAnnouncements, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, mutingNotificationTypes: $mutingNotificationTypes, notificationRecieveConfig: $notificationRecieveConfig, emailNotificationTypes: $emailNotificationTypes, achievements: $achievements, loggedInDays: $loggedInDays, policies: $policies)'; + return 'MeDetailed(id: $id, name: $name, username: $username, host: $host, avatarUrl: $avatarUrl, avatarBlurhash: $avatarBlurhash, avatarDecorations: $avatarDecorations, isBot: $isBot, isCat: $isCat, instance: $instance, emojis: $emojis, onlineStatus: $onlineStatus, badgeRoles: $badgeRoles, url: $url, uri: $uri, movedTo: $movedTo, alsoKnownAs: $alsoKnownAs, createdAt: $createdAt, updatedAt: $updatedAt, lastFetchedAt: $lastFetchedAt, bannerUrl: $bannerUrl, bannerBlurhash: $bannerBlurhash, isLocked: $isLocked, isSilenced: $isSilenced, isSuspended: $isSuspended, description: $description, location: $location, birthday: $birthday, lang: $lang, fields: $fields, verifiedLinks: $verifiedLinks, followersCount: $followersCount, followingCount: $followingCount, notesCount: $notesCount, pinnedNoteIds: $pinnedNoteIds, pinnedNotes: $pinnedNotes, pinnedPageId: $pinnedPageId, pinnedPage: $pinnedPage, publicReactions: $publicReactions, ffVisibility: $ffVisibility, followersVisibility: $followersVisibility, followingVisibility: $followingVisibility, twoFactorEnabled: $twoFactorEnabled, usePasswordLessLogin: $usePasswordLessLogin, securityKeys: $securityKeys, roles: $roles, memo: $memo, moderationNote: $moderationNote, avatarId: $avatarId, bannerId: $bannerId, followedMessage: $followedMessage, isModerator: $isModerator, isAdmin: $isAdmin, injectFeaturedNote: $injectFeaturedNote, receiveAnnouncementEmail: $receiveAnnouncementEmail, alwaysMarkNsfw: $alwaysMarkNsfw, autoSensitive: $autoSensitive, carefulBot: $carefulBot, autoAcceptFollowed: $autoAcceptFollowed, preventAiLearning: $preventAiLearning, noCrawle: $noCrawle, isExplorable: $isExplorable, isDeleted: $isDeleted, twoFactorBackupCodesStock: $twoFactorBackupCodesStock, hideOnlineStatus: $hideOnlineStatus, hasUnreadSpecifiedNotes: $hasUnreadSpecifiedNotes, hasUnreadMentions: $hasUnreadMentions, hasUnreadAnnouncement: $hasUnreadAnnouncement, hasUnreadAntenna: $hasUnreadAntenna, hasUnreadChannel: $hasUnreadChannel, hasUnreadNotification: $hasUnreadNotification, hasPendingReceivedFollowRequest: $hasPendingReceivedFollowRequest, unreadNotificationsCount: $unreadNotificationsCount, unreadAnnouncements: $unreadAnnouncements, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, mutingNotificationTypes: $mutingNotificationTypes, notificationRecieveConfig: $notificationRecieveConfig, emailNotificationTypes: $emailNotificationTypes, achievements: $achievements, loggedInDays: $loggedInDays, policies: $policies)'; } @override @@ -5021,6 +5058,8 @@ class _$MeDetailedImpl implements _MeDetailed { other.avatarId == avatarId) && (identical(other.bannerId, bannerId) || other.bannerId == bannerId) && + (identical(other.followedMessage, followedMessage) || + other.followedMessage == followedMessage) && (identical(other.isModerator, isModerator) || other.isModerator == isModerator) && (identical(other.isAdmin, isAdmin) || other.isAdmin == isAdmin) && @@ -5032,8 +5071,7 @@ class _$MeDetailedImpl implements _MeDetailed { other.alwaysMarkNsfw == alwaysMarkNsfw) && (identical(other.autoSensitive, autoSensitive) || other.autoSensitive == autoSensitive) && - (identical(other.carefulBot, carefulBot) || - other.carefulBot == carefulBot) && + (identical(other.carefulBot, carefulBot) || other.carefulBot == carefulBot) && (identical(other.autoAcceptFollowed, autoAcceptFollowed) || other.autoAcceptFollowed == autoAcceptFollowed) && (identical(other.preventAiLearning, preventAiLearning) || other.preventAiLearning == preventAiLearning) && (identical(other.noCrawle, noCrawle) || other.noCrawle == noCrawle) && @@ -5115,6 +5153,7 @@ class _$MeDetailedImpl implements _MeDetailed { moderationNote, avatarId, bannerId, + followedMessage, isModerator, isAdmin, injectFeaturedNote, @@ -5215,6 +5254,7 @@ abstract class _MeDetailed implements MeDetailed { final String? moderationNote, final String? avatarId, final String? bannerId, + final String? followedMessage, required final bool isModerator, required final bool isAdmin, required final bool injectFeaturedNote, @@ -5365,6 +5405,8 @@ abstract class _MeDetailed implements MeDetailed { @override String? get bannerId; @override + String? get followedMessage; + @override bool get isModerator; @override bool get isAdmin; diff --git a/lib/src/data/base/user.g.dart b/lib/src/data/base/user.g.dart index c83c3e15..de274c44 100644 --- a/lib/src/data/base/user.g.dart +++ b/lib/src/data/base/user.g.dart @@ -315,6 +315,7 @@ _$UserDetailedNotMeWithRelationsImpl isRenoteMuted: json['isRenoteMuted'] as bool, notify: $enumDecodeNullable(_$NotifyEnumMap, json['notify']), withReplies: json['withReplies'] as bool?, + followedMessage: json['followedMessage'] as String?, ); Map _$$UserDetailedNotMeWithRelationsImplToJson( @@ -383,6 +384,7 @@ Map _$$UserDetailedNotMeWithRelationsImplToJson( 'isRenoteMuted': instance.isRenoteMuted, 'notify': _$NotifyEnumMap[instance.notify], 'withReplies': instance.withReplies, + 'followedMessage': instance.followedMessage, }; const _$NotifyEnumMap = { @@ -478,6 +480,7 @@ _$MeDetailedImpl _$$MeDetailedImplFromJson(Map json) => moderationNote: json['moderationNote'] as String?, avatarId: json['avatarId'] as String?, bannerId: json['bannerId'] as String?, + followedMessage: json['followedMessage'] as String?, isModerator: json['isModerator'] as bool, isAdmin: json['isAdmin'] as bool, injectFeaturedNote: json['injectFeaturedNote'] as bool, @@ -593,6 +596,7 @@ Map _$$MeDetailedImplToJson(_$MeDetailedImpl instance) => 'moderationNote': instance.moderationNote, 'avatarId': instance.avatarId, 'bannerId': instance.bannerId, + 'followedMessage': instance.followedMessage, 'isModerator': instance.isModerator, 'isAdmin': instance.isAdmin, 'injectFeaturedNote': instance.injectFeaturedNote, diff --git a/lib/src/data/i/i_update_request.dart b/lib/src/data/i/i_update_request.dart index fd58d884..797f4e7b 100644 --- a/lib/src/data/i/i_update_request.dart +++ b/lib/src/data/i/i_update_request.dart @@ -11,6 +11,7 @@ class IUpdateRequest with _$IUpdateRequest { const factory IUpdateRequest({ String? name, String? description, + String? followedMessage, String? location, @DateTimeConverter() birthday, String? lang, diff --git a/lib/src/data/i/i_update_request.freezed.dart b/lib/src/data/i/i_update_request.freezed.dart index e9d131d7..565f21d9 100644 --- a/lib/src/data/i/i_update_request.freezed.dart +++ b/lib/src/data/i/i_update_request.freezed.dart @@ -22,6 +22,7 @@ IUpdateRequest _$IUpdateRequestFromJson(Map json) { mixin _$IUpdateRequest { String? get name => throw _privateConstructorUsedError; String? get description => throw _privateConstructorUsedError; + String? get followedMessage => throw _privateConstructorUsedError; String? get location => throw _privateConstructorUsedError; @DateTimeConverter() dynamic get birthday => throw _privateConstructorUsedError; @@ -78,6 +79,7 @@ abstract class $IUpdateRequestCopyWith<$Res> { $Res call( {String? name, String? description, + String? followedMessage, String? location, @DateTimeConverter() dynamic birthday, String? lang, @@ -129,6 +131,7 @@ class _$IUpdateRequestCopyWithImpl<$Res, $Val extends IUpdateRequest> $Res call({ Object? name = freezed, Object? description = freezed, + Object? followedMessage = freezed, Object? location = freezed, Object? birthday = freezed, Object? lang = freezed, @@ -171,6 +174,10 @@ class _$IUpdateRequestCopyWithImpl<$Res, $Val extends IUpdateRequest> ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, location: freezed == location ? _value.location : location // ignore: cast_nullable_to_non_nullable @@ -327,6 +334,7 @@ abstract class _$$IUpdateRequestImplCopyWith<$Res> $Res call( {String? name, String? description, + String? followedMessage, String? location, @DateTimeConverter() dynamic birthday, String? lang, @@ -377,6 +385,7 @@ class __$$IUpdateRequestImplCopyWithImpl<$Res> $Res call({ Object? name = freezed, Object? description = freezed, + Object? followedMessage = freezed, Object? location = freezed, Object? birthday = freezed, Object? lang = freezed, @@ -419,6 +428,10 @@ class __$$IUpdateRequestImplCopyWithImpl<$Res> ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, + followedMessage: freezed == followedMessage + ? _value.followedMessage + : followedMessage // ignore: cast_nullable_to_non_nullable + as String?, location: freezed == location ? _value.location : location // ignore: cast_nullable_to_non_nullable @@ -554,6 +567,7 @@ class _$IUpdateRequestImpl implements _IUpdateRequest { const _$IUpdateRequestImpl( {this.name, this.description, + this.followedMessage, this.location, @DateTimeConverter() this.birthday, this.lang, @@ -603,6 +617,8 @@ class _$IUpdateRequestImpl implements _IUpdateRequest { @override final String? description; @override + final String? followedMessage; + @override final String? location; @override @DateTimeConverter() @@ -739,7 +755,7 @@ class _$IUpdateRequestImpl implements _IUpdateRequest { @override String toString() { - return 'IUpdateRequest(name: $name, description: $description, location: $location, birthday: $birthday, lang: $lang, avatarId: $avatarId, avatarDecorations: $avatarDecorations, bannerId: $bannerId, fields: $fields, isLocked: $isLocked, isExplorable: $isExplorable, hideOnlineStatus: $hideOnlineStatus, publicReactions: $publicReactions, carefulBot: $carefulBot, autoAcceptFollowed: $autoAcceptFollowed, noCrawle: $noCrawle, preventAiLearning: $preventAiLearning, isBot: $isBot, isCat: $isCat, injectFeaturedNote: $injectFeaturedNote, receiveAnnouncementEmail: $receiveAnnouncementEmail, alwaysMarkNsfw: $alwaysMarkNsfw, autoSensitive: $autoSensitive, ffVisibility: $ffVisibility, followingVisibility: $followingVisibility, followersVisibility: $followersVisibility, pinnedPageId: $pinnedPageId, mutingNotificationTypes: $mutingNotificationTypes, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, notificationRecieveConfig: $notificationRecieveConfig, emailNotificationTypes: $emailNotificationTypes, alsoKnownAs: $alsoKnownAs)'; + return 'IUpdateRequest(name: $name, description: $description, followedMessage: $followedMessage, location: $location, birthday: $birthday, lang: $lang, avatarId: $avatarId, avatarDecorations: $avatarDecorations, bannerId: $bannerId, fields: $fields, isLocked: $isLocked, isExplorable: $isExplorable, hideOnlineStatus: $hideOnlineStatus, publicReactions: $publicReactions, carefulBot: $carefulBot, autoAcceptFollowed: $autoAcceptFollowed, noCrawle: $noCrawle, preventAiLearning: $preventAiLearning, isBot: $isBot, isCat: $isCat, injectFeaturedNote: $injectFeaturedNote, receiveAnnouncementEmail: $receiveAnnouncementEmail, alwaysMarkNsfw: $alwaysMarkNsfw, autoSensitive: $autoSensitive, ffVisibility: $ffVisibility, followingVisibility: $followingVisibility, followersVisibility: $followersVisibility, pinnedPageId: $pinnedPageId, mutingNotificationTypes: $mutingNotificationTypes, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, notificationRecieveConfig: $notificationRecieveConfig, emailNotificationTypes: $emailNotificationTypes, alsoKnownAs: $alsoKnownAs)'; } @override @@ -750,6 +766,8 @@ class _$IUpdateRequestImpl implements _IUpdateRequest { (identical(other.name, name) || other.name == name) && (identical(other.description, description) || other.description == description) && + (identical(other.followedMessage, followedMessage) || + other.followedMessage == followedMessage) && (identical(other.location, location) || other.location == location) && const DeepCollectionEquality().equals(other.birthday, birthday) && @@ -819,6 +837,7 @@ class _$IUpdateRequestImpl implements _IUpdateRequest { runtimeType, name, description, + followedMessage, location, const DeepCollectionEquality().hash(birthday), lang, @@ -872,6 +891,7 @@ abstract class _IUpdateRequest implements IUpdateRequest { const factory _IUpdateRequest( {final String? name, final String? description, + final String? followedMessage, final String? location, @DateTimeConverter() final dynamic birthday, final String? lang, @@ -913,6 +933,8 @@ abstract class _IUpdateRequest implements IUpdateRequest { @override String? get description; @override + String? get followedMessage; + @override String? get location; @override @DateTimeConverter() diff --git a/lib/src/data/i/i_update_request.g.dart b/lib/src/data/i/i_update_request.g.dart index f5bee78a..de2d0957 100644 --- a/lib/src/data/i/i_update_request.g.dart +++ b/lib/src/data/i/i_update_request.g.dart @@ -10,6 +10,7 @@ _$IUpdateRequestImpl _$$IUpdateRequestImplFromJson(Map json) => _$IUpdateRequestImpl( name: json['name'] as String?, description: json['description'] as String?, + followedMessage: json['followedMessage'] as String?, location: json['location'] as String?, birthday: json['birthday'], lang: json['lang'] as String?, @@ -73,6 +74,7 @@ Map _$$IUpdateRequestImplToJson( { 'name': instance.name, 'description': instance.description, + 'followedMessage': instance.followedMessage, 'location': instance.location, 'birthday': instance.birthday, 'lang': instance.lang,