prototype complete
This commit is contained in:
169
lib/screens/recipient/recipients_controller.freezed.dart
Normal file
169
lib/screens/recipient/recipients_controller.freezed.dart
Normal file
@@ -0,0 +1,169 @@
|
||||
// dart format width=80
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
|
||||
|
||||
part of 'recipients_controller.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// dart format off
|
||||
T _$identity<T>(T value) => value;
|
||||
|
||||
/// @nodoc
|
||||
mixin _$Recipient {
|
||||
|
||||
String? get uid; String? get name; String? get email; String? get phoneNumber; String? get address; String? get account; String? get initials; String? get latestProviderLabel;
|
||||
/// Create a copy of Recipient
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
$RecipientCopyWith<Recipient> get copyWith => _$RecipientCopyWithImpl<Recipient>(this as Recipient, _$identity);
|
||||
|
||||
/// Serializes this Recipient to a JSON map.
|
||||
Map<String, dynamic> toJson();
|
||||
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is Recipient&&(identical(other.uid, uid) || other.uid == uid)&&(identical(other.name, name) || other.name == name)&&(identical(other.email, email) || other.email == email)&&(identical(other.phoneNumber, phoneNumber) || other.phoneNumber == phoneNumber)&&(identical(other.address, address) || other.address == address)&&(identical(other.account, account) || other.account == account)&&(identical(other.initials, initials) || other.initials == initials)&&(identical(other.latestProviderLabel, latestProviderLabel) || other.latestProviderLabel == latestProviderLabel));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,uid,name,email,phoneNumber,address,account,initials,latestProviderLabel);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'Recipient(uid: $uid, name: $name, email: $email, phoneNumber: $phoneNumber, address: $address, account: $account, initials: $initials, latestProviderLabel: $latestProviderLabel)';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class $RecipientCopyWith<$Res> {
|
||||
factory $RecipientCopyWith(Recipient value, $Res Function(Recipient) _then) = _$RecipientCopyWithImpl;
|
||||
@useResult
|
||||
$Res call({
|
||||
String? uid, String? name, String? email, String? phoneNumber, String? address, String? account, String? initials, String? latestProviderLabel
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
/// @nodoc
|
||||
class _$RecipientCopyWithImpl<$Res>
|
||||
implements $RecipientCopyWith<$Res> {
|
||||
_$RecipientCopyWithImpl(this._self, this._then);
|
||||
|
||||
final Recipient _self;
|
||||
final $Res Function(Recipient) _then;
|
||||
|
||||
/// Create a copy of Recipient
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline') @override $Res call({Object? uid = freezed,Object? name = freezed,Object? email = freezed,Object? phoneNumber = freezed,Object? address = freezed,Object? account = freezed,Object? initials = freezed,Object? latestProviderLabel = freezed,}) {
|
||||
return _then(_self.copyWith(
|
||||
uid: freezed == uid ? _self.uid : uid // ignore: cast_nullable_to_non_nullable
|
||||
as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
|
||||
as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable
|
||||
as String?,phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable
|
||||
as String?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
||||
as String?,account: freezed == account ? _self.account : account // ignore: cast_nullable_to_non_nullable
|
||||
as String?,initials: freezed == initials ? _self.initials : initials // ignore: cast_nullable_to_non_nullable
|
||||
as String?,latestProviderLabel: freezed == latestProviderLabel ? _self.latestProviderLabel : latestProviderLabel // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// @nodoc
|
||||
@JsonSerializable()
|
||||
|
||||
class _Recipient implements Recipient {
|
||||
const _Recipient({this.uid, this.name, this.email, this.phoneNumber, this.address, this.account, this.initials, this.latestProviderLabel});
|
||||
factory _Recipient.fromJson(Map<String, dynamic> json) => _$RecipientFromJson(json);
|
||||
|
||||
@override final String? uid;
|
||||
@override final String? name;
|
||||
@override final String? email;
|
||||
@override final String? phoneNumber;
|
||||
@override final String? address;
|
||||
@override final String? account;
|
||||
@override final String? initials;
|
||||
@override final String? latestProviderLabel;
|
||||
|
||||
/// Create a copy of Recipient
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override @JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
_$RecipientCopyWith<_Recipient> get copyWith => __$RecipientCopyWithImpl<_Recipient>(this, _$identity);
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return _$RecipientToJson(this, );
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Recipient&&(identical(other.uid, uid) || other.uid == uid)&&(identical(other.name, name) || other.name == name)&&(identical(other.email, email) || other.email == email)&&(identical(other.phoneNumber, phoneNumber) || other.phoneNumber == phoneNumber)&&(identical(other.address, address) || other.address == address)&&(identical(other.account, account) || other.account == account)&&(identical(other.initials, initials) || other.initials == initials)&&(identical(other.latestProviderLabel, latestProviderLabel) || other.latestProviderLabel == latestProviderLabel));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,uid,name,email,phoneNumber,address,account,initials,latestProviderLabel);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'Recipient(uid: $uid, name: $name, email: $email, phoneNumber: $phoneNumber, address: $address, account: $account, initials: $initials, latestProviderLabel: $latestProviderLabel)';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class _$RecipientCopyWith<$Res> implements $RecipientCopyWith<$Res> {
|
||||
factory _$RecipientCopyWith(_Recipient value, $Res Function(_Recipient) _then) = __$RecipientCopyWithImpl;
|
||||
@override @useResult
|
||||
$Res call({
|
||||
String? uid, String? name, String? email, String? phoneNumber, String? address, String? account, String? initials, String? latestProviderLabel
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
/// @nodoc
|
||||
class __$RecipientCopyWithImpl<$Res>
|
||||
implements _$RecipientCopyWith<$Res> {
|
||||
__$RecipientCopyWithImpl(this._self, this._then);
|
||||
|
||||
final _Recipient _self;
|
||||
final $Res Function(_Recipient) _then;
|
||||
|
||||
/// Create a copy of Recipient
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override @pragma('vm:prefer-inline') $Res call({Object? uid = freezed,Object? name = freezed,Object? email = freezed,Object? phoneNumber = freezed,Object? address = freezed,Object? account = freezed,Object? initials = freezed,Object? latestProviderLabel = freezed,}) {
|
||||
return _then(_Recipient(
|
||||
uid: freezed == uid ? _self.uid : uid // ignore: cast_nullable_to_non_nullable
|
||||
as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
|
||||
as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable
|
||||
as String?,phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable
|
||||
as String?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
||||
as String?,account: freezed == account ? _self.account : account // ignore: cast_nullable_to_non_nullable
|
||||
as String?,initials: freezed == initials ? _self.initials : initials // ignore: cast_nullable_to_non_nullable
|
||||
as String?,latestProviderLabel: freezed == latestProviderLabel ? _self.latestProviderLabel : latestProviderLabel // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// dart format on
|
||||
Reference in New Issue
Block a user