Skip to content

Commit

Permalink
コード自動生成
Browse files Browse the repository at this point in the history
  • Loading branch information
shiosyakeyakini-info committed Dec 18, 2023
1 parent 9fe91fe commit 7e4e279
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 43 deletions.
57 changes: 52 additions & 5 deletions lib/src/data/i/i_update_request.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ mixin _$IUpdateRequest {
bool? get injectFeaturedNote => throw _privateConstructorUsedError;
bool? get receiveAnnouncementEmail => throw _privateConstructorUsedError;
bool? get alwaysMarkNsfw => throw _privateConstructorUsedError;
@Deprecated("removed at 2023.12.0")
FFVisibility? get ffVisibility => throw _privateConstructorUsedError;
FFVisibility? get followingVisibility => throw _privateConstructorUsedError;
FFVisibility? get followersVisibility => throw _privateConstructorUsedError;
String? get pinnedPageId => throw _privateConstructorUsedError;
List<String>? get mutingNotificationTypes =>
throw _privateConstructorUsedError;
Expand Down Expand Up @@ -89,7 +92,9 @@ abstract class $IUpdateRequestCopyWith<$Res> {
bool? injectFeaturedNote,
bool? receiveAnnouncementEmail,
bool? alwaysMarkNsfw,
FFVisibility? ffVisibility,
@Deprecated("removed at 2023.12.0") FFVisibility? ffVisibility,
FFVisibility? followingVisibility,
FFVisibility? followersVisibility,
String? pinnedPageId,
List<String>? mutingNotificationTypes,
@MuteWordsConverter() List<MuteWord>? mutedWords,
Expand Down Expand Up @@ -134,6 +139,8 @@ class _$IUpdateRequestCopyWithImpl<$Res, $Val extends IUpdateRequest>
Object? receiveAnnouncementEmail = freezed,
Object? alwaysMarkNsfw = freezed,
Object? ffVisibility = freezed,
Object? followingVisibility = freezed,
Object? followersVisibility = freezed,
Object? pinnedPageId = freezed,
Object? mutingNotificationTypes = freezed,
Object? mutedWords = freezed,
Expand Down Expand Up @@ -231,6 +238,14 @@ class _$IUpdateRequestCopyWithImpl<$Res, $Val extends IUpdateRequest>
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
followingVisibility: freezed == followingVisibility
? _value.followingVisibility
: followingVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
followersVisibility: freezed == followersVisibility
? _value.followersVisibility
: followersVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
pinnedPageId: freezed == pinnedPageId
? _value.pinnedPageId
: pinnedPageId // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -293,7 +308,9 @@ abstract class _$$IUpdateRequestImplCopyWith<$Res>
bool? injectFeaturedNote,
bool? receiveAnnouncementEmail,
bool? alwaysMarkNsfw,
FFVisibility? ffVisibility,
@Deprecated("removed at 2023.12.0") FFVisibility? ffVisibility,
FFVisibility? followingVisibility,
FFVisibility? followersVisibility,
String? pinnedPageId,
List<String>? mutingNotificationTypes,
@MuteWordsConverter() List<MuteWord>? mutedWords,
Expand Down Expand Up @@ -336,6 +353,8 @@ class __$$IUpdateRequestImplCopyWithImpl<$Res>
Object? receiveAnnouncementEmail = freezed,
Object? alwaysMarkNsfw = freezed,
Object? ffVisibility = freezed,
Object? followingVisibility = freezed,
Object? followersVisibility = freezed,
Object? pinnedPageId = freezed,
Object? mutingNotificationTypes = freezed,
Object? mutedWords = freezed,
Expand Down Expand Up @@ -430,6 +449,14 @@ class __$$IUpdateRequestImplCopyWithImpl<$Res>
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
followingVisibility: freezed == followingVisibility
? _value.followingVisibility
: followingVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
followersVisibility: freezed == followersVisibility
? _value.followersVisibility
: followersVisibility // ignore: cast_nullable_to_non_nullable
as FFVisibility?,
pinnedPageId: freezed == pinnedPageId
? _value.pinnedPageId
: pinnedPageId // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -487,7 +514,9 @@ class _$IUpdateRequestImpl implements _IUpdateRequest {
this.injectFeaturedNote,
this.receiveAnnouncementEmail,
this.alwaysMarkNsfw,
this.ffVisibility,
@Deprecated("removed at 2023.12.0") this.ffVisibility,
this.followingVisibility,
this.followersVisibility,
this.pinnedPageId,
final List<String>? mutingNotificationTypes,
@MuteWordsConverter() final List<MuteWord>? mutedWords,
Expand Down Expand Up @@ -558,8 +587,13 @@ class _$IUpdateRequestImpl implements _IUpdateRequest {
@override
final bool? alwaysMarkNsfw;
@override
@Deprecated("removed at 2023.12.0")
final FFVisibility? ffVisibility;
@override
final FFVisibility? followingVisibility;
@override
final FFVisibility? followersVisibility;
@override
final String? pinnedPageId;
final List<String>? _mutingNotificationTypes;
@override
Expand Down Expand Up @@ -627,7 +661,7 @@ class _$IUpdateRequestImpl implements _IUpdateRequest {

@override
String toString() {
return 'IUpdateRequest(name: $name, description: $description, location: $location, birthday: $birthday, lang: $lang, avatarId: $avatarId, 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, ffVisibility: $ffVisibility, pinnedPageId: $pinnedPageId, mutingNotificationTypes: $mutingNotificationTypes, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, emailNotificationTypes: $emailNotificationTypes, alsoKnownAs: $alsoKnownAs)';
return 'IUpdateRequest(name: $name, description: $description, location: $location, birthday: $birthday, lang: $lang, avatarId: $avatarId, 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, ffVisibility: $ffVisibility, followingVisibility: $followingVisibility, followersVisibility: $followersVisibility, pinnedPageId: $pinnedPageId, mutingNotificationTypes: $mutingNotificationTypes, mutedWords: $mutedWords, hardMutedWords: $hardMutedWords, mutedInstances: $mutedInstances, emailNotificationTypes: $emailNotificationTypes, alsoKnownAs: $alsoKnownAs)';
}

@override
Expand Down Expand Up @@ -674,6 +708,10 @@ class _$IUpdateRequestImpl implements _IUpdateRequest {
other.alwaysMarkNsfw == alwaysMarkNsfw) &&
(identical(other.ffVisibility, ffVisibility) ||
other.ffVisibility == ffVisibility) &&
(identical(other.followingVisibility, followingVisibility) ||
other.followingVisibility == followingVisibility) &&
(identical(other.followersVisibility, followersVisibility) ||
other.followersVisibility == followersVisibility) &&
(identical(other.pinnedPageId, pinnedPageId) ||
other.pinnedPageId == pinnedPageId) &&
const DeepCollectionEquality().equals(
Expand Down Expand Up @@ -716,6 +754,8 @@ class _$IUpdateRequestImpl implements _IUpdateRequest {
receiveAnnouncementEmail,
alwaysMarkNsfw,
ffVisibility,
followingVisibility,
followersVisibility,
pinnedPageId,
const DeepCollectionEquality().hash(_mutingNotificationTypes),
const DeepCollectionEquality().hash(_mutedWords),
Expand Down Expand Up @@ -763,7 +803,9 @@ abstract class _IUpdateRequest implements IUpdateRequest {
final bool? injectFeaturedNote,
final bool? receiveAnnouncementEmail,
final bool? alwaysMarkNsfw,
final FFVisibility? ffVisibility,
@Deprecated("removed at 2023.12.0") final FFVisibility? ffVisibility,
final FFVisibility? followingVisibility,
final FFVisibility? followersVisibility,
final String? pinnedPageId,
final List<String>? mutingNotificationTypes,
@MuteWordsConverter() final List<MuteWord>? mutedWords,
Expand Down Expand Up @@ -819,8 +861,13 @@ abstract class _IUpdateRequest implements IUpdateRequest {
@override
bool? get alwaysMarkNsfw;
@override
@Deprecated("removed at 2023.12.0")
FFVisibility? get ffVisibility;
@override
FFVisibility? get followingVisibility;
@override
FFVisibility? get followersVisibility;
@override
String? get pinnedPageId;
@override
List<String>? get mutingNotificationTypes;
Expand Down
8 changes: 8 additions & 0 deletions lib/src/data/i/i_update_request.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7e4e279

Please sign in to comment.