Skip to content

Commit

Permalink
ffVisibilityの型をFFVisibilityに
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Oct 20, 2023
1 parent cdfc15b commit 8bcd03a
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 @@ -59,7 +59,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 @@ -141,7 +141,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 @@ -193,7 +193,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 @@ -251,7 +251,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 @@ -484,7 +484,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 @@ -539,7 +539,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 @@ -748,7 +748,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 @@ -829,7 +829,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 @@ -1037,7 +1037,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 @@ -1245,7 +1245,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 @@ -1446,7 +1446,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 @@ -1537,7 +1537,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 @@ -1606,7 +1606,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 @@ -1671,7 +1671,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 @@ -1897,7 +1897,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 @@ -2011,7 +2011,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 @@ -2237,7 +2237,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 @@ -2487,7 +2487,7 @@ class _$_UserDetailedNotMeWithRelations
@override
final bool publicReactions;
@override
final String ffVisibility;
final FFVisibility ffVisibility;
@override
final bool twoFactorEnabled;
@override
Expand Down Expand Up @@ -2731,7 +2731,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 @@ -2830,7 +2830,7 @@ abstract class _UserDetailedNotMeWithRelations
@override
bool get publicReactions;
@override
String get ffVisibility;
FFVisibility get ffVisibility;
@override
bool get twoFactorEnabled;
@override
Expand Down Expand Up @@ -2914,7 +2914,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 @@ -3004,7 +3004,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 @@ -3275,7 +3275,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 @@ -3484,7 +3484,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 @@ -3755,7 +3755,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 @@ -4120,7 +4120,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 @@ -4497,7 +4497,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 @@ -4619,7 +4619,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 8bcd03a

Please sign in to comment.