Skip to content

Commit

Permalink
Antennaのnotifyをnullableに
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed May 28, 2024
1 parent 91d4c3f commit 5cffc56
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion lib/src/data/antennas/antennas_create_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AntennasCreateRequest with _$AntennasCreateRequest {
required bool caseSensitive,
required bool withReplies,
required bool withFile,
required bool notify,
bool? notify,
bool? localOnly,
}) = _AntennasCreateRequest;

Expand Down
26 changes: 13 additions & 13 deletions lib/src/data/antennas/antennas_create_request.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mixin _$AntennasCreateRequest {
bool get caseSensitive => throw _privateConstructorUsedError;
bool get withReplies => throw _privateConstructorUsedError;
bool get withFile => throw _privateConstructorUsedError;
bool get notify => throw _privateConstructorUsedError;
bool? get notify => throw _privateConstructorUsedError;
bool? get localOnly => throw _privateConstructorUsedError;

Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
Expand All @@ -55,7 +55,7 @@ abstract class $AntennasCreateRequestCopyWith<$Res> {
bool caseSensitive,
bool withReplies,
bool withFile,
bool notify,
bool? notify,
bool? localOnly});
}

Expand All @@ -82,7 +82,7 @@ class _$AntennasCreateRequestCopyWithImpl<$Res,
Object? caseSensitive = null,
Object? withReplies = null,
Object? withFile = null,
Object? notify = null,
Object? notify = freezed,
Object? localOnly = freezed,
}) {
return _then(_value.copyWith(
Expand Down Expand Up @@ -122,10 +122,10 @@ class _$AntennasCreateRequestCopyWithImpl<$Res,
? _value.withFile
: withFile // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
localOnly: freezed == localOnly
? _value.localOnly
: localOnly // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -153,7 +153,7 @@ abstract class _$$AntennasCreateRequestImplCopyWith<$Res>
bool caseSensitive,
bool withReplies,
bool withFile,
bool notify,
bool? notify,
bool? localOnly});
}

Expand All @@ -178,7 +178,7 @@ class __$$AntennasCreateRequestImplCopyWithImpl<$Res>
Object? caseSensitive = null,
Object? withReplies = null,
Object? withFile = null,
Object? notify = null,
Object? notify = freezed,
Object? localOnly = freezed,
}) {
return _then(_$AntennasCreateRequestImpl(
Expand Down Expand Up @@ -218,10 +218,10 @@ class __$$AntennasCreateRequestImplCopyWithImpl<$Res>
? _value.withFile
: withFile // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
localOnly: freezed == localOnly
? _value.localOnly
: localOnly // ignore: cast_nullable_to_non_nullable
Expand All @@ -243,7 +243,7 @@ class _$AntennasCreateRequestImpl implements _AntennasCreateRequest {
required this.caseSensitive,
required this.withReplies,
required this.withFile,
required this.notify,
this.notify,
this.localOnly})
: _keywords = keywords,
_excludeKeywords = excludeKeywords,
Expand Down Expand Up @@ -289,7 +289,7 @@ class _$AntennasCreateRequestImpl implements _AntennasCreateRequest {
@override
final bool withFile;
@override
final bool notify;
final bool? notify;
@override
final bool? localOnly;

Expand Down Expand Up @@ -364,7 +364,7 @@ abstract class _AntennasCreateRequest implements AntennasCreateRequest {
required final bool caseSensitive,
required final bool withReplies,
required final bool withFile,
required final bool notify,
final bool? notify,
final bool? localOnly}) = _$AntennasCreateRequestImpl;

factory _AntennasCreateRequest.fromJson(Map<String, dynamic> json) =
Expand All @@ -389,7 +389,7 @@ abstract class _AntennasCreateRequest implements AntennasCreateRequest {
@override
bool get withFile;
@override
bool get notify;
bool? get notify;
@override
bool? get localOnly;
@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/data/antennas/antennas_create_request.g.dart

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

2 changes: 1 addition & 1 deletion lib/src/data/antennas/antennas_update_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AntennasUpdateRequest with _$AntennasUpdateRequest {
required bool caseSensitive,
required bool withReplies,
required bool withFile,
required bool notify,
bool? notify,
bool? localOnly,
}) = _AntennasUpdateRequest;

Expand Down
26 changes: 13 additions & 13 deletions lib/src/data/antennas/antennas_update_request.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mixin _$AntennasUpdateRequest {
bool get caseSensitive => throw _privateConstructorUsedError;
bool get withReplies => throw _privateConstructorUsedError;
bool get withFile => throw _privateConstructorUsedError;
bool get notify => throw _privateConstructorUsedError;
bool? get notify => throw _privateConstructorUsedError;
bool? get localOnly => throw _privateConstructorUsedError;

Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
Expand All @@ -57,7 +57,7 @@ abstract class $AntennasUpdateRequestCopyWith<$Res> {
bool caseSensitive,
bool withReplies,
bool withFile,
bool notify,
bool? notify,
bool? localOnly});
}

Expand Down Expand Up @@ -85,7 +85,7 @@ class _$AntennasUpdateRequestCopyWithImpl<$Res,
Object? caseSensitive = null,
Object? withReplies = null,
Object? withFile = null,
Object? notify = null,
Object? notify = freezed,
Object? localOnly = freezed,
}) {
return _then(_value.copyWith(
Expand Down Expand Up @@ -129,10 +129,10 @@ class _$AntennasUpdateRequestCopyWithImpl<$Res,
? _value.withFile
: withFile // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
localOnly: freezed == localOnly
? _value.localOnly
: localOnly // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -161,7 +161,7 @@ abstract class _$$AntennasUpdateRequestImplCopyWith<$Res>
bool caseSensitive,
bool withReplies,
bool withFile,
bool notify,
bool? notify,
bool? localOnly});
}

Expand All @@ -187,7 +187,7 @@ class __$$AntennasUpdateRequestImplCopyWithImpl<$Res>
Object? caseSensitive = null,
Object? withReplies = null,
Object? withFile = null,
Object? notify = null,
Object? notify = freezed,
Object? localOnly = freezed,
}) {
return _then(_$AntennasUpdateRequestImpl(
Expand Down Expand Up @@ -231,10 +231,10 @@ class __$$AntennasUpdateRequestImplCopyWithImpl<$Res>
? _value.withFile
: withFile // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
localOnly: freezed == localOnly
? _value.localOnly
: localOnly // ignore: cast_nullable_to_non_nullable
Expand All @@ -257,7 +257,7 @@ class _$AntennasUpdateRequestImpl implements _AntennasUpdateRequest {
required this.caseSensitive,
required this.withReplies,
required this.withFile,
required this.notify,
this.notify,
this.localOnly})
: _keywords = keywords,
_excludeKeywords = excludeKeywords,
Expand Down Expand Up @@ -305,7 +305,7 @@ class _$AntennasUpdateRequestImpl implements _AntennasUpdateRequest {
@override
final bool withFile;
@override
final bool notify;
final bool? notify;
@override
final bool? localOnly;

Expand Down Expand Up @@ -384,7 +384,7 @@ abstract class _AntennasUpdateRequest implements AntennasUpdateRequest {
required final bool caseSensitive,
required final bool withReplies,
required final bool withFile,
required final bool notify,
final bool? notify,
final bool? localOnly}) = _$AntennasUpdateRequestImpl;

factory _AntennasUpdateRequest.fromJson(Map<String, dynamic> json) =
Expand All @@ -411,7 +411,7 @@ abstract class _AntennasUpdateRequest implements AntennasUpdateRequest {
@override
bool get withFile;
@override
bool get notify;
bool? get notify;
@override
bool? get localOnly;
@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/data/antennas/antennas_update_request.g.dart

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

2 changes: 1 addition & 1 deletion lib/src/data/base/antenna.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Antenna with _$Antenna {
String? userListId,
required List<String> users,
required bool caseSensitive,
required bool notify,
bool? notify,
required bool withReplies,
required bool withFile,
required bool isActive,
Expand Down
26 changes: 13 additions & 13 deletions lib/src/data/base/antenna.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mixin _$Antenna {
String? get userListId => throw _privateConstructorUsedError;
List<String> get users => throw _privateConstructorUsedError;
bool get caseSensitive => throw _privateConstructorUsedError;
bool get notify => throw _privateConstructorUsedError;
bool? get notify => throw _privateConstructorUsedError;
bool get withReplies => throw _privateConstructorUsedError;
bool get withFile => throw _privateConstructorUsedError;
bool get isActive => throw _privateConstructorUsedError;
Expand All @@ -57,7 +57,7 @@ abstract class $AntennaCopyWith<$Res> {
String? userListId,
List<String> users,
bool caseSensitive,
bool notify,
bool? notify,
bool withReplies,
bool withFile,
bool isActive,
Expand Down Expand Up @@ -87,7 +87,7 @@ class _$AntennaCopyWithImpl<$Res, $Val extends Antenna>
Object? userListId = freezed,
Object? users = null,
Object? caseSensitive = null,
Object? notify = null,
Object? notify = freezed,
Object? withReplies = null,
Object? withFile = null,
Object? isActive = null,
Expand Down Expand Up @@ -131,10 +131,10 @@ class _$AntennaCopyWithImpl<$Res, $Val extends Antenna>
? _value.caseSensitive
: caseSensitive // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
withReplies: null == withReplies
? _value.withReplies
: withReplies // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -176,7 +176,7 @@ abstract class _$$AntennaImplCopyWith<$Res> implements $AntennaCopyWith<$Res> {
String? userListId,
List<String> users,
bool caseSensitive,
bool notify,
bool? notify,
bool withReplies,
bool withFile,
bool isActive,
Expand Down Expand Up @@ -204,7 +204,7 @@ class __$$AntennaImplCopyWithImpl<$Res>
Object? userListId = freezed,
Object? users = null,
Object? caseSensitive = null,
Object? notify = null,
Object? notify = freezed,
Object? withReplies = null,
Object? withFile = null,
Object? isActive = null,
Expand Down Expand Up @@ -248,10 +248,10 @@ class __$$AntennaImplCopyWithImpl<$Res>
? _value.caseSensitive
: caseSensitive // ignore: cast_nullable_to_non_nullable
as bool,
notify: null == notify
notify: freezed == notify
? _value.notify
: notify // ignore: cast_nullable_to_non_nullable
as bool,
as bool?,
withReplies: null == withReplies
? _value.withReplies
: withReplies // ignore: cast_nullable_to_non_nullable
Expand Down Expand Up @@ -289,7 +289,7 @@ class _$AntennaImpl implements _Antenna {
this.userListId,
required final List<String> users,
required this.caseSensitive,
required this.notify,
this.notify,
required this.withReplies,
required this.withFile,
required this.isActive,
Expand Down Expand Up @@ -340,7 +340,7 @@ class _$AntennaImpl implements _Antenna {
@override
final bool caseSensitive;
@override
final bool notify;
final bool? notify;
@override
final bool withReplies;
@override
Expand Down Expand Up @@ -433,7 +433,7 @@ abstract class _Antenna implements Antenna {
final String? userListId,
required final List<String> users,
required final bool caseSensitive,
required final bool notify,
final bool? notify,
required final bool withReplies,
required final bool withFile,
required final bool isActive,
Expand Down Expand Up @@ -462,7 +462,7 @@ abstract class _Antenna implements Antenna {
@override
bool get caseSensitive;
@override
bool get notify;
bool? get notify;
@override
bool get withReplies;
@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/data/base/antenna.g.dart

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

0 comments on commit 5cffc56

Please sign in to comment.