diff --git a/lib/src/data/antennas/antennas_create_request.dart b/lib/src/data/antennas/antennas_create_request.dart index e5707c13..9a8671f6 100644 --- a/lib/src/data/antennas/antennas_create_request.dart +++ b/lib/src/data/antennas/antennas_create_request.dart @@ -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; diff --git a/lib/src/data/antennas/antennas_create_request.freezed.dart b/lib/src/data/antennas/antennas_create_request.freezed.dart index 79bcf725..26bd8284 100644 --- a/lib/src/data/antennas/antennas_create_request.freezed.dart +++ b/lib/src/data/antennas/antennas_create_request.freezed.dart @@ -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 toJson() => throw _privateConstructorUsedError; @@ -55,7 +55,7 @@ abstract class $AntennasCreateRequestCopyWith<$Res> { bool caseSensitive, bool withReplies, bool withFile, - bool notify, + bool? notify, bool? localOnly}); } @@ -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( @@ -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 @@ -153,7 +153,7 @@ abstract class _$$AntennasCreateRequestImplCopyWith<$Res> bool caseSensitive, bool withReplies, bool withFile, - bool notify, + bool? notify, bool? localOnly}); } @@ -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( @@ -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 @@ -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, @@ -289,7 +289,7 @@ class _$AntennasCreateRequestImpl implements _AntennasCreateRequest { @override final bool withFile; @override - final bool notify; + final bool? notify; @override final bool? localOnly; @@ -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 json) = @@ -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 diff --git a/lib/src/data/antennas/antennas_create_request.g.dart b/lib/src/data/antennas/antennas_create_request.g.dart index 5e7ed56b..730e5296 100644 --- a/lib/src/data/antennas/antennas_create_request.g.dart +++ b/lib/src/data/antennas/antennas_create_request.g.dart @@ -22,7 +22,7 @@ _$AntennasCreateRequestImpl _$$AntennasCreateRequestImplFromJson( caseSensitive: json['caseSensitive'] as bool, withReplies: json['withReplies'] as bool, withFile: json['withFile'] as bool, - notify: json['notify'] as bool, + notify: json['notify'] as bool?, localOnly: json['localOnly'] as bool?, ); diff --git a/lib/src/data/antennas/antennas_update_request.dart b/lib/src/data/antennas/antennas_update_request.dart index 1a4192b6..93604653 100644 --- a/lib/src/data/antennas/antennas_update_request.dart +++ b/lib/src/data/antennas/antennas_update_request.dart @@ -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; diff --git a/lib/src/data/antennas/antennas_update_request.freezed.dart b/lib/src/data/antennas/antennas_update_request.freezed.dart index d7a8c290..7afe1aa1 100644 --- a/lib/src/data/antennas/antennas_update_request.freezed.dart +++ b/lib/src/data/antennas/antennas_update_request.freezed.dart @@ -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 toJson() => throw _privateConstructorUsedError; @@ -57,7 +57,7 @@ abstract class $AntennasUpdateRequestCopyWith<$Res> { bool caseSensitive, bool withReplies, bool withFile, - bool notify, + bool? notify, bool? localOnly}); } @@ -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( @@ -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 @@ -161,7 +161,7 @@ abstract class _$$AntennasUpdateRequestImplCopyWith<$Res> bool caseSensitive, bool withReplies, bool withFile, - bool notify, + bool? notify, bool? localOnly}); } @@ -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( @@ -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 @@ -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, @@ -305,7 +305,7 @@ class _$AntennasUpdateRequestImpl implements _AntennasUpdateRequest { @override final bool withFile; @override - final bool notify; + final bool? notify; @override final bool? localOnly; @@ -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 json) = @@ -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 diff --git a/lib/src/data/antennas/antennas_update_request.g.dart b/lib/src/data/antennas/antennas_update_request.g.dart index ca801ee0..3d3b0c92 100644 --- a/lib/src/data/antennas/antennas_update_request.g.dart +++ b/lib/src/data/antennas/antennas_update_request.g.dart @@ -23,7 +23,7 @@ _$AntennasUpdateRequestImpl _$$AntennasUpdateRequestImplFromJson( caseSensitive: json['caseSensitive'] as bool, withReplies: json['withReplies'] as bool, withFile: json['withFile'] as bool, - notify: json['notify'] as bool, + notify: json['notify'] as bool?, localOnly: json['localOnly'] as bool?, ); diff --git a/lib/src/data/base/antenna.dart b/lib/src/data/base/antenna.dart index 9de6f358..d8eea59e 100644 --- a/lib/src/data/base/antenna.dart +++ b/lib/src/data/base/antenna.dart @@ -17,7 +17,7 @@ class Antenna with _$Antenna { String? userListId, required List users, required bool caseSensitive, - required bool notify, + bool? notify, required bool withReplies, required bool withFile, required bool isActive, diff --git a/lib/src/data/base/antenna.freezed.dart b/lib/src/data/base/antenna.freezed.dart index 91324344..9c355cc7 100644 --- a/lib/src/data/base/antenna.freezed.dart +++ b/lib/src/data/base/antenna.freezed.dart @@ -30,7 +30,7 @@ mixin _$Antenna { String? get userListId => throw _privateConstructorUsedError; List 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; @@ -57,7 +57,7 @@ abstract class $AntennaCopyWith<$Res> { String? userListId, List users, bool caseSensitive, - bool notify, + bool? notify, bool withReplies, bool withFile, bool isActive, @@ -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, @@ -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 @@ -176,7 +176,7 @@ abstract class _$$AntennaImplCopyWith<$Res> implements $AntennaCopyWith<$Res> { String? userListId, List users, bool caseSensitive, - bool notify, + bool? notify, bool withReplies, bool withFile, bool isActive, @@ -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, @@ -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 @@ -289,7 +289,7 @@ class _$AntennaImpl implements _Antenna { this.userListId, required final List users, required this.caseSensitive, - required this.notify, + this.notify, required this.withReplies, required this.withFile, required this.isActive, @@ -340,7 +340,7 @@ class _$AntennaImpl implements _Antenna { @override final bool caseSensitive; @override - final bool notify; + final bool? notify; @override final bool withReplies; @override @@ -433,7 +433,7 @@ abstract class _Antenna implements Antenna { final String? userListId, required final List users, required final bool caseSensitive, - required final bool notify, + final bool? notify, required final bool withReplies, required final bool withFile, required final bool isActive, @@ -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 diff --git a/lib/src/data/base/antenna.g.dart b/lib/src/data/base/antenna.g.dart index 66d91154..4119f886 100644 --- a/lib/src/data/base/antenna.g.dart +++ b/lib/src/data/base/antenna.g.dart @@ -22,7 +22,7 @@ _$AntennaImpl _$$AntennaImplFromJson(Map json) => userListId: json['userListId'] as String?, users: (json['users'] as List).map((e) => e as String).toList(), caseSensitive: json['caseSensitive'] as bool, - notify: json['notify'] as bool, + notify: json['notify'] as bool?, withReplies: json['withReplies'] as bool, withFile: json['withFile'] as bool, isActive: json['isActive'] as bool,