Skip to content

Commit

Permalink
ffVisibilityの型をFFVisibilityに
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Oct 26, 2023
1 parent 867a4ba commit 21daa77
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 34 deletions.
8 changes: 4 additions & 4 deletions lib/src/data/base/user.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ abstract class UserDetailed implements User {
String? get pinnedPageId;
Map<String, dynamic>? get pinnedPage;
bool get publicReactions;
String get ffVisibility;
FFVisibility get ffVisibility;
bool get twoFactorEnabled;
bool get usePasswordLessLogin;
bool get securityKeys;
Expand Down Expand Up @@ -144,7 +144,7 @@ class UserDetailedNotMe with _$UserDetailedNotMe implements UserDetailed {
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
required bool publicReactions,
required String ffVisibility,
required FFVisibility ffVisibility,
required bool twoFactorEnabled,
required bool usePasswordLessLogin,
required bool securityKeys,
Expand Down Expand Up @@ -197,7 +197,7 @@ class UserDetailedNotMeWithRelations
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
required bool publicReactions,
required String ffVisibility,
required FFVisibility ffVisibility,
required bool twoFactorEnabled,
required bool usePasswordLessLogin,
required bool securityKeys,
Expand Down Expand Up @@ -256,7 +256,7 @@ class MeDetailed with _$MeDetailed implements UserDetailed {
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
required bool publicReactions,
required String ffVisibility,
required FFVisibility ffVisibility,
required bool twoFactorEnabled,
required bool usePasswordLessLogin,
required bool securityKeys,
Expand Down
48 changes: 24 additions & 24 deletions lib/src/data/base/user.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ mixin _$UserDetailedNotMe {
String? get pinnedPageId => throw _privateConstructorUsedError;
Map<String, dynamic>? get pinnedPage => throw _privateConstructorUsedError;
bool get publicReactions => throw _privateConstructorUsedError;
String get ffVisibility => throw _privateConstructorUsedError;
FFVisibility get ffVisibility => throw _privateConstructorUsedError;
bool get twoFactorEnabled => throw _privateConstructorUsedError;
bool get usePasswordLessLogin => throw _privateConstructorUsedError;
bool get securityKeys => throw _privateConstructorUsedError;
Expand Down Expand Up @@ -574,7 +574,7 @@ abstract class $UserDetailedNotMeCopyWith<$Res> {
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -788,7 +788,7 @@ class _$UserDetailedNotMeCopyWithImpl<$Res, $Val extends UserDetailedNotMe>
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -870,7 +870,7 @@ abstract class _$$_UserDetailedNotMeCopyWith<$Res>
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -1083,7 +1083,7 @@ class __$$_UserDetailedNotMeCopyWithImpl<$Res>
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -1303,7 +1303,7 @@ class _$_UserDetailedNotMe implements _UserDetailedNotMe {
@override
final bool publicReactions;
@override
final String ffVisibility;
final FFVisibility ffVisibility;
@override
final bool twoFactorEnabled;
@override
Expand Down Expand Up @@ -1508,7 +1508,7 @@ abstract class _UserDetailedNotMe implements UserDetailedNotMe {
final String? pinnedPageId,
final Map<String, dynamic>? pinnedPage,
required final bool publicReactions,
required final String ffVisibility,
required final FFVisibility ffVisibility,
required final bool twoFactorEnabled,
required final bool usePasswordLessLogin,
required final bool securityKeys,
Expand Down Expand Up @@ -1601,7 +1601,7 @@ abstract class _UserDetailedNotMe implements UserDetailedNotMe {
@override
bool get publicReactions;
@override
String get ffVisibility;
FFVisibility get ffVisibility;
@override
bool get twoFactorEnabled;
@override
Expand Down Expand Up @@ -1672,7 +1672,7 @@ mixin _$UserDetailedNotMeWithRelations {
String? get pinnedPageId => throw _privateConstructorUsedError;
Map<String, dynamic>? get pinnedPage => throw _privateConstructorUsedError;
bool get publicReactions => throw _privateConstructorUsedError;
String get ffVisibility => throw _privateConstructorUsedError;
FFVisibility get ffVisibility => throw _privateConstructorUsedError;
bool get twoFactorEnabled => throw _privateConstructorUsedError;
bool get usePasswordLessLogin => throw _privateConstructorUsedError;
bool get securityKeys => throw _privateConstructorUsedError;
Expand Down Expand Up @@ -1738,7 +1738,7 @@ abstract class $UserDetailedNotMeWithRelationsCopyWith<$Res> {
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -1969,7 +1969,7 @@ class _$UserDetailedNotMeWithRelationsCopyWithImpl<$Res,
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -2084,7 +2084,7 @@ abstract class _$$_UserDetailedNotMeWithRelationsCopyWith<$Res>
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -2315,7 +2315,7 @@ class __$$_UserDetailedNotMeWithRelationsCopyWithImpl<$Res>
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -2577,7 +2577,7 @@ class _$_UserDetailedNotMeWithRelations
@override
final bool publicReactions;
@override
final String ffVisibility;
final FFVisibility ffVisibility;
@override
final bool twoFactorEnabled;
@override
Expand Down Expand Up @@ -2825,7 +2825,7 @@ abstract class _UserDetailedNotMeWithRelations
final String? pinnedPageId,
final Map<String, dynamic>? pinnedPage,
required final bool publicReactions,
required final String ffVisibility,
required final FFVisibility ffVisibility,
required final bool twoFactorEnabled,
required final bool usePasswordLessLogin,
required final bool securityKeys,
Expand Down Expand Up @@ -2926,7 +2926,7 @@ abstract class _UserDetailedNotMeWithRelations
@override
bool get publicReactions;
@override
String get ffVisibility;
FFVisibility get ffVisibility;
@override
bool get twoFactorEnabled;
@override
Expand Down Expand Up @@ -3012,7 +3012,7 @@ mixin _$MeDetailed {
String? get pinnedPageId => throw _privateConstructorUsedError;
Map<String, dynamic>? get pinnedPage => throw _privateConstructorUsedError;
bool get publicReactions => throw _privateConstructorUsedError;
String get ffVisibility => throw _privateConstructorUsedError;
FFVisibility get ffVisibility => throw _privateConstructorUsedError;
bool get twoFactorEnabled => throw _privateConstructorUsedError;
bool get usePasswordLessLogin => throw _privateConstructorUsedError;
bool get securityKeys => throw _privateConstructorUsedError;
Expand Down Expand Up @@ -3103,7 +3103,7 @@ abstract class $MeDetailedCopyWith<$Res> {
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -3379,7 +3379,7 @@ class _$MeDetailedCopyWithImpl<$Res, $Val extends MeDetailed>
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -3589,7 +3589,7 @@ abstract class _$$_MeDetailedCopyWith<$Res>
String? pinnedPageId,
Map<String, dynamic>? pinnedPage,
bool publicReactions,
String ffVisibility,
FFVisibility ffVisibility,
bool twoFactorEnabled,
bool usePasswordLessLogin,
bool securityKeys,
Expand Down Expand Up @@ -3865,7 +3865,7 @@ class __$$_MeDetailedCopyWithImpl<$Res>
ffVisibility: null == ffVisibility
? _value.ffVisibility
: ffVisibility // ignore: cast_nullable_to_non_nullable
as String,
as FFVisibility,
twoFactorEnabled: null == twoFactorEnabled
? _value.twoFactorEnabled
: twoFactorEnabled // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -4242,7 +4242,7 @@ class _$_MeDetailed implements _MeDetailed {
@override
final bool publicReactions;
@override
final String ffVisibility;
final FFVisibility ffVisibility;
@override
final bool twoFactorEnabled;
@override
Expand Down Expand Up @@ -4622,7 +4622,7 @@ abstract class _MeDetailed implements MeDetailed {
final String? pinnedPageId,
final Map<String, dynamic>? pinnedPage,
required final bool publicReactions,
required final String ffVisibility,
required final FFVisibility ffVisibility,
required final bool twoFactorEnabled,
required final bool usePasswordLessLogin,
required final bool securityKeys,
Expand Down Expand Up @@ -4746,7 +4746,7 @@ abstract class _MeDetailed implements MeDetailed {
@override
bool get publicReactions;
@override
String get ffVisibility;
FFVisibility get ffVisibility;
@override
bool get twoFactorEnabled;
@override
Expand Down
18 changes: 12 additions & 6 deletions lib/src/data/base/user.g.dart

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

0 comments on commit 21daa77

Please sign in to comment.