// GENERATED CODE - DO NOT MODIFY BY HAND // coverage:ignore-file // ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package // 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 'auth_dtos.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** // GENERATED CODE - DO NOT MODIFY BY HAND // dart format off T _$identity(T value) => value; /// @nodoc mixin _$CheckPhoneDto { @JsonKey(name: 'status') String? get status;@JsonKey(name: 'message') String? get message;@JsonKey(name: 'data') CheckPhoneDataDto? get data; /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $CheckPhoneDtoCopyWith get copyWith => _$CheckPhoneDtoCopyWithImpl(this as CheckPhoneDto, _$identity); /// Serializes this CheckPhoneDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as CheckPhoneDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is CheckPhoneDto&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as CheckPhoneDto; return Object.hash(runtimeType,_this.status,_this.message,_this.data); } @override String toString() { final _this = this as CheckPhoneDto; return 'CheckPhoneDto(status: ${_this.status}, message: ${_this.message}, data: ${_this.data})'; } } /// @nodoc abstract mixin class $CheckPhoneDtoCopyWith<$Res> { factory $CheckPhoneDtoCopyWith(CheckPhoneDto value, $Res Function(CheckPhoneDto) _then) = _$CheckPhoneDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') CheckPhoneDataDto? data }); $CheckPhoneDataDtoCopyWith<$Res>? get data; } /// @nodoc class _$CheckPhoneDtoCopyWithImpl<$Res> implements $CheckPhoneDtoCopyWith<$Res> { _$CheckPhoneDtoCopyWithImpl(this._self, this._then); final CheckPhoneDto _self; final $Res Function(CheckPhoneDto) _then; /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(CheckPhoneDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as CheckPhoneDataDto?, )); } /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $CheckPhoneDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $CheckPhoneDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// Adds pattern-matching-related methods to [CheckPhoneDto]. extension CheckPhoneDtoPatterns on CheckPhoneDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _CheckPhoneDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _CheckPhoneDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _CheckPhoneDto value) $default,){ final _that = this; switch (_that) { case _CheckPhoneDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _CheckPhoneDto value)? $default,){ final _that = this; switch (_that) { case _CheckPhoneDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') CheckPhoneDataDto? data)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _CheckPhoneDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') CheckPhoneDataDto? data) $default,) {final _that = this; switch (_that) { case _CheckPhoneDto(): return $default(_that.status,_that.message,_that.data);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') CheckPhoneDataDto? data)? $default,) {final _that = this; switch (_that) { case _CheckPhoneDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return null; } } } /// @nodoc @JsonSerializable() class _CheckPhoneDto extends CheckPhoneDto { const _CheckPhoneDto({@JsonKey(name: 'status') this.status, @JsonKey(name: 'message') this.message, @JsonKey(name: 'data') this.data}): super._(); factory _CheckPhoneDto.fromJson(Map json) => _$CheckPhoneDtoFromJson(json); @override@JsonKey(name: 'status') final String? status; @override@JsonKey(name: 'message') final String? message; @override@JsonKey(name: 'data') final CheckPhoneDataDto? data; /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$CheckPhoneDtoCopyWith<_CheckPhoneDto> get copyWith => __$CheckPhoneDtoCopyWithImpl<_CheckPhoneDto>(this, _$identity); @override Map toJson() { return _$CheckPhoneDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _CheckPhoneDto&&(identical(other.status, status) || other.status == status)&&(identical(other.message, message) || other.message == message)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,status,message,data); } @override String toString() { return 'CheckPhoneDto(status: $status, message: $message, data: $data)'; } } /// @nodoc abstract mixin class _$CheckPhoneDtoCopyWith<$Res> implements $CheckPhoneDtoCopyWith<$Res> { factory _$CheckPhoneDtoCopyWith(_CheckPhoneDto value, $Res Function(_CheckPhoneDto) _then) = __$CheckPhoneDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') CheckPhoneDataDto? data }); @override $CheckPhoneDataDtoCopyWith<$Res>? get data; } /// @nodoc class __$CheckPhoneDtoCopyWithImpl<$Res> implements _$CheckPhoneDtoCopyWith<$Res> { __$CheckPhoneDtoCopyWithImpl(this._self, this._then); final _CheckPhoneDto _self; final $Res Function(_CheckPhoneDto) _then; /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(_CheckPhoneDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as CheckPhoneDataDto?, )); } /// Create a copy of CheckPhoneDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $CheckPhoneDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $CheckPhoneDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// @nodoc mixin _$CheckPhoneDataDto { @JsonKey(name: 'phone_number') String? get phoneNumber; /// Create a copy of CheckPhoneDataDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $CheckPhoneDataDtoCopyWith get copyWith => _$CheckPhoneDataDtoCopyWithImpl(this as CheckPhoneDataDto, _$identity); /// Serializes this CheckPhoneDataDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as CheckPhoneDataDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is CheckPhoneDataDto&&(identical(other.phoneNumber, _this.phoneNumber) || other.phoneNumber == _this.phoneNumber)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as CheckPhoneDataDto; return Object.hash(runtimeType,_this.phoneNumber); } @override String toString() { final _this = this as CheckPhoneDataDto; return 'CheckPhoneDataDto(phoneNumber: ${_this.phoneNumber})'; } } /// @nodoc abstract mixin class $CheckPhoneDataDtoCopyWith<$Res> { factory $CheckPhoneDataDtoCopyWith(CheckPhoneDataDto value, $Res Function(CheckPhoneDataDto) _then) = _$CheckPhoneDataDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'phone_number') String? phoneNumber }); } /// @nodoc class _$CheckPhoneDataDtoCopyWithImpl<$Res> implements $CheckPhoneDataDtoCopyWith<$Res> { _$CheckPhoneDataDtoCopyWithImpl(this._self, this._then); final CheckPhoneDataDto _self; final $Res Function(CheckPhoneDataDto) _then; /// Create a copy of CheckPhoneDataDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? phoneNumber = freezed,}) { return _then(CheckPhoneDataDto( phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?, )); } } /// Adds pattern-matching-related methods to [CheckPhoneDataDto]. extension CheckPhoneDataDtoPatterns on CheckPhoneDataDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _CheckPhoneDataDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _CheckPhoneDataDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _CheckPhoneDataDto value) $default,){ final _that = this; switch (_that) { case _CheckPhoneDataDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _CheckPhoneDataDto value)? $default,){ final _that = this; switch (_that) { case _CheckPhoneDataDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'phone_number') String? phoneNumber)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _CheckPhoneDataDto() when $default != null: return $default(_that.phoneNumber);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'phone_number') String? phoneNumber) $default,) {final _that = this; switch (_that) { case _CheckPhoneDataDto(): return $default(_that.phoneNumber);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'phone_number') String? phoneNumber)? $default,) {final _that = this; switch (_that) { case _CheckPhoneDataDto() when $default != null: return $default(_that.phoneNumber);case _: return null; } } } /// @nodoc @JsonSerializable() class _CheckPhoneDataDto implements CheckPhoneDataDto { const _CheckPhoneDataDto({@JsonKey(name: 'phone_number') this.phoneNumber}); factory _CheckPhoneDataDto.fromJson(Map json) => _$CheckPhoneDataDtoFromJson(json); @override@JsonKey(name: 'phone_number') final String? phoneNumber; /// Create a copy of CheckPhoneDataDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$CheckPhoneDataDtoCopyWith<_CheckPhoneDataDto> get copyWith => __$CheckPhoneDataDtoCopyWithImpl<_CheckPhoneDataDto>(this, _$identity); @override Map toJson() { return _$CheckPhoneDataDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _CheckPhoneDataDto&&(identical(other.phoneNumber, phoneNumber) || other.phoneNumber == phoneNumber)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,phoneNumber); } @override String toString() { return 'CheckPhoneDataDto(phoneNumber: $phoneNumber)'; } } /// @nodoc abstract mixin class _$CheckPhoneDataDtoCopyWith<$Res> implements $CheckPhoneDataDtoCopyWith<$Res> { factory _$CheckPhoneDataDtoCopyWith(_CheckPhoneDataDto value, $Res Function(_CheckPhoneDataDto) _then) = __$CheckPhoneDataDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'phone_number') String? phoneNumber }); } /// @nodoc class __$CheckPhoneDataDtoCopyWithImpl<$Res> implements _$CheckPhoneDataDtoCopyWith<$Res> { __$CheckPhoneDataDtoCopyWithImpl(this._self, this._then); final _CheckPhoneDataDto _self; final $Res Function(_CheckPhoneDataDto) _then; /// Create a copy of CheckPhoneDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? phoneNumber = freezed,}) { return _then(_CheckPhoneDataDto( phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc mixin _$RegisterDto { @JsonKey(name: 'status') String? get status;@JsonKey(name: 'message') String? get message;@JsonKey(name: 'data') RegisterDataDto? get data; /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $RegisterDtoCopyWith get copyWith => _$RegisterDtoCopyWithImpl(this as RegisterDto, _$identity); /// Serializes this RegisterDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as RegisterDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is RegisterDto&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as RegisterDto; return Object.hash(runtimeType,_this.status,_this.message,_this.data); } @override String toString() { final _this = this as RegisterDto; return 'RegisterDto(status: ${_this.status}, message: ${_this.message}, data: ${_this.data})'; } } /// @nodoc abstract mixin class $RegisterDtoCopyWith<$Res> { factory $RegisterDtoCopyWith(RegisterDto value, $Res Function(RegisterDto) _then) = _$RegisterDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') RegisterDataDto? data }); $RegisterDataDtoCopyWith<$Res>? get data; } /// @nodoc class _$RegisterDtoCopyWithImpl<$Res> implements $RegisterDtoCopyWith<$Res> { _$RegisterDtoCopyWithImpl(this._self, this._then); final RegisterDto _self; final $Res Function(RegisterDto) _then; /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(RegisterDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as RegisterDataDto?, )); } /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $RegisterDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $RegisterDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// Adds pattern-matching-related methods to [RegisterDto]. extension RegisterDtoPatterns on RegisterDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _RegisterDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _RegisterDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _RegisterDto value) $default,){ final _that = this; switch (_that) { case _RegisterDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _RegisterDto value)? $default,){ final _that = this; switch (_that) { case _RegisterDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') RegisterDataDto? data)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _RegisterDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') RegisterDataDto? data) $default,) {final _that = this; switch (_that) { case _RegisterDto(): return $default(_that.status,_that.message,_that.data);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') RegisterDataDto? data)? $default,) {final _that = this; switch (_that) { case _RegisterDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return null; } } } /// @nodoc @JsonSerializable() class _RegisterDto extends RegisterDto { const _RegisterDto({@JsonKey(name: 'status') this.status, @JsonKey(name: 'message') this.message, @JsonKey(name: 'data') this.data}): super._(); factory _RegisterDto.fromJson(Map json) => _$RegisterDtoFromJson(json); @override@JsonKey(name: 'status') final String? status; @override@JsonKey(name: 'message') final String? message; @override@JsonKey(name: 'data') final RegisterDataDto? data; /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$RegisterDtoCopyWith<_RegisterDto> get copyWith => __$RegisterDtoCopyWithImpl<_RegisterDto>(this, _$identity); @override Map toJson() { return _$RegisterDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _RegisterDto&&(identical(other.status, status) || other.status == status)&&(identical(other.message, message) || other.message == message)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,status,message,data); } @override String toString() { return 'RegisterDto(status: $status, message: $message, data: $data)'; } } /// @nodoc abstract mixin class _$RegisterDtoCopyWith<$Res> implements $RegisterDtoCopyWith<$Res> { factory _$RegisterDtoCopyWith(_RegisterDto value, $Res Function(_RegisterDto) _then) = __$RegisterDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') RegisterDataDto? data }); @override $RegisterDataDtoCopyWith<$Res>? get data; } /// @nodoc class __$RegisterDtoCopyWithImpl<$Res> implements _$RegisterDtoCopyWith<$Res> { __$RegisterDtoCopyWithImpl(this._self, this._then); final _RegisterDto _self; final $Res Function(_RegisterDto) _then; /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(_RegisterDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as RegisterDataDto?, )); } /// Create a copy of RegisterDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $RegisterDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $RegisterDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// @nodoc mixin _$RegisterDataDto { @JsonKey(name: 'registration_token') String? get registrationToken;@JsonKey(name: 'otp_token') String? get otpToken;@JsonKey(name: 'expires_in') int? get expiresIn; /// Create a copy of RegisterDataDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $RegisterDataDtoCopyWith get copyWith => _$RegisterDataDtoCopyWithImpl(this as RegisterDataDto, _$identity); /// Serializes this RegisterDataDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as RegisterDataDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is RegisterDataDto&&(identical(other.registrationToken, _this.registrationToken) || other.registrationToken == _this.registrationToken)&&(identical(other.otpToken, _this.otpToken) || other.otpToken == _this.otpToken)&&(identical(other.expiresIn, _this.expiresIn) || other.expiresIn == _this.expiresIn)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as RegisterDataDto; return Object.hash(runtimeType,_this.registrationToken,_this.otpToken,_this.expiresIn); } @override String toString() { final _this = this as RegisterDataDto; return 'RegisterDataDto(registrationToken: ${_this.registrationToken}, otpToken: ${_this.otpToken}, expiresIn: ${_this.expiresIn})'; } } /// @nodoc abstract mixin class $RegisterDataDtoCopyWith<$Res> { factory $RegisterDataDtoCopyWith(RegisterDataDto value, $Res Function(RegisterDataDto) _then) = _$RegisterDataDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'registration_token') String? registrationToken,@JsonKey(name: 'otp_token') String? otpToken,@JsonKey(name: 'expires_in') int? expiresIn }); } /// @nodoc class _$RegisterDataDtoCopyWithImpl<$Res> implements $RegisterDataDtoCopyWith<$Res> { _$RegisterDataDtoCopyWithImpl(this._self, this._then); final RegisterDataDto _self; final $Res Function(RegisterDataDto) _then; /// Create a copy of RegisterDataDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? registrationToken = freezed,Object? otpToken = freezed,Object? expiresIn = freezed,}) { return _then(RegisterDataDto( registrationToken: freezed == registrationToken ? _self.registrationToken : registrationToken // ignore: cast_nullable_to_non_nullable as String?,otpToken: freezed == otpToken ? _self.otpToken : otpToken // ignore: cast_nullable_to_non_nullable as String?,expiresIn: freezed == expiresIn ? _self.expiresIn : expiresIn // ignore: cast_nullable_to_non_nullable as int?, )); } } /// Adds pattern-matching-related methods to [RegisterDataDto]. extension RegisterDataDtoPatterns on RegisterDataDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _RegisterDataDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _RegisterDataDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _RegisterDataDto value) $default,){ final _that = this; switch (_that) { case _RegisterDataDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _RegisterDataDto value)? $default,){ final _that = this; switch (_that) { case _RegisterDataDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'registration_token') String? registrationToken, @JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _RegisterDataDto() when $default != null: return $default(_that.registrationToken,_that.otpToken,_that.expiresIn);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'registration_token') String? registrationToken, @JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn) $default,) {final _that = this; switch (_that) { case _RegisterDataDto(): return $default(_that.registrationToken,_that.otpToken,_that.expiresIn);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'registration_token') String? registrationToken, @JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn)? $default,) {final _that = this; switch (_that) { case _RegisterDataDto() when $default != null: return $default(_that.registrationToken,_that.otpToken,_that.expiresIn);case _: return null; } } } /// @nodoc @JsonSerializable() class _RegisterDataDto implements RegisterDataDto { const _RegisterDataDto({@JsonKey(name: 'registration_token') this.registrationToken, @JsonKey(name: 'otp_token') this.otpToken, @JsonKey(name: 'expires_in') this.expiresIn}); factory _RegisterDataDto.fromJson(Map json) => _$RegisterDataDtoFromJson(json); @override@JsonKey(name: 'registration_token') final String? registrationToken; @override@JsonKey(name: 'otp_token') final String? otpToken; @override@JsonKey(name: 'expires_in') final int? expiresIn; /// Create a copy of RegisterDataDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$RegisterDataDtoCopyWith<_RegisterDataDto> get copyWith => __$RegisterDataDtoCopyWithImpl<_RegisterDataDto>(this, _$identity); @override Map toJson() { return _$RegisterDataDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _RegisterDataDto&&(identical(other.registrationToken, registrationToken) || other.registrationToken == registrationToken)&&(identical(other.otpToken, otpToken) || other.otpToken == otpToken)&&(identical(other.expiresIn, expiresIn) || other.expiresIn == expiresIn)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,registrationToken,otpToken,expiresIn); } @override String toString() { return 'RegisterDataDto(registrationToken: $registrationToken, otpToken: $otpToken, expiresIn: $expiresIn)'; } } /// @nodoc abstract mixin class _$RegisterDataDtoCopyWith<$Res> implements $RegisterDataDtoCopyWith<$Res> { factory _$RegisterDataDtoCopyWith(_RegisterDataDto value, $Res Function(_RegisterDataDto) _then) = __$RegisterDataDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'registration_token') String? registrationToken,@JsonKey(name: 'otp_token') String? otpToken,@JsonKey(name: 'expires_in') int? expiresIn }); } /// @nodoc class __$RegisterDataDtoCopyWithImpl<$Res> implements _$RegisterDataDtoCopyWith<$Res> { __$RegisterDataDtoCopyWithImpl(this._self, this._then); final _RegisterDataDto _self; final $Res Function(_RegisterDataDto) _then; /// Create a copy of RegisterDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? registrationToken = freezed,Object? otpToken = freezed,Object? expiresIn = freezed,}) { return _then(_RegisterDataDto( registrationToken: freezed == registrationToken ? _self.registrationToken : registrationToken // ignore: cast_nullable_to_non_nullable as String?,otpToken: freezed == otpToken ? _self.otpToken : otpToken // ignore: cast_nullable_to_non_nullable as String?,expiresIn: freezed == expiresIn ? _self.expiresIn : expiresIn // ignore: cast_nullable_to_non_nullable as int?, )); } } /// @nodoc mixin _$VerifyDto { @JsonKey(name: 'status') String? get status;@JsonKey(name: 'message') String? get message;@JsonKey(name: 'data') VerifyDataDto? get data; /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $VerifyDtoCopyWith get copyWith => _$VerifyDtoCopyWithImpl(this as VerifyDto, _$identity); /// Serializes this VerifyDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as VerifyDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is VerifyDto&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as VerifyDto; return Object.hash(runtimeType,_this.status,_this.message,_this.data); } @override String toString() { final _this = this as VerifyDto; return 'VerifyDto(status: ${_this.status}, message: ${_this.message}, data: ${_this.data})'; } } /// @nodoc abstract mixin class $VerifyDtoCopyWith<$Res> { factory $VerifyDtoCopyWith(VerifyDto value, $Res Function(VerifyDto) _then) = _$VerifyDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') VerifyDataDto? data }); $VerifyDataDtoCopyWith<$Res>? get data; } /// @nodoc class _$VerifyDtoCopyWithImpl<$Res> implements $VerifyDtoCopyWith<$Res> { _$VerifyDtoCopyWithImpl(this._self, this._then); final VerifyDto _self; final $Res Function(VerifyDto) _then; /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(VerifyDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as VerifyDataDto?, )); } /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $VerifyDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $VerifyDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// Adds pattern-matching-related methods to [VerifyDto]. extension VerifyDtoPatterns on VerifyDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _VerifyDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _VerifyDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _VerifyDto value) $default,){ final _that = this; switch (_that) { case _VerifyDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _VerifyDto value)? $default,){ final _that = this; switch (_that) { case _VerifyDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') VerifyDataDto? data)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _VerifyDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') VerifyDataDto? data) $default,) {final _that = this; switch (_that) { case _VerifyDto(): return $default(_that.status,_that.message,_that.data);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') VerifyDataDto? data)? $default,) {final _that = this; switch (_that) { case _VerifyDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return null; } } } /// @nodoc @JsonSerializable() class _VerifyDto extends VerifyDto { const _VerifyDto({@JsonKey(name: 'status') this.status, @JsonKey(name: 'message') this.message, @JsonKey(name: 'data') this.data}): super._(); factory _VerifyDto.fromJson(Map json) => _$VerifyDtoFromJson(json); @override@JsonKey(name: 'status') final String? status; @override@JsonKey(name: 'message') final String? message; @override@JsonKey(name: 'data') final VerifyDataDto? data; /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$VerifyDtoCopyWith<_VerifyDto> get copyWith => __$VerifyDtoCopyWithImpl<_VerifyDto>(this, _$identity); @override Map toJson() { return _$VerifyDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _VerifyDto&&(identical(other.status, status) || other.status == status)&&(identical(other.message, message) || other.message == message)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,status,message,data); } @override String toString() { return 'VerifyDto(status: $status, message: $message, data: $data)'; } } /// @nodoc abstract mixin class _$VerifyDtoCopyWith<$Res> implements $VerifyDtoCopyWith<$Res> { factory _$VerifyDtoCopyWith(_VerifyDto value, $Res Function(_VerifyDto) _then) = __$VerifyDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') VerifyDataDto? data }); @override $VerifyDataDtoCopyWith<$Res>? get data; } /// @nodoc class __$VerifyDtoCopyWithImpl<$Res> implements _$VerifyDtoCopyWith<$Res> { __$VerifyDtoCopyWithImpl(this._self, this._then); final _VerifyDto _self; final $Res Function(_VerifyDto) _then; /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(_VerifyDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as VerifyDataDto?, )); } /// Create a copy of VerifyDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $VerifyDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $VerifyDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// @nodoc mixin _$VerifyDataDto { @JsonKey(name: 'registration_token') String? get registrationToken; /// Create a copy of VerifyDataDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $VerifyDataDtoCopyWith get copyWith => _$VerifyDataDtoCopyWithImpl(this as VerifyDataDto, _$identity); /// Serializes this VerifyDataDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as VerifyDataDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is VerifyDataDto&&(identical(other.registrationToken, _this.registrationToken) || other.registrationToken == _this.registrationToken)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as VerifyDataDto; return Object.hash(runtimeType,_this.registrationToken); } @override String toString() { final _this = this as VerifyDataDto; return 'VerifyDataDto(registrationToken: ${_this.registrationToken})'; } } /// @nodoc abstract mixin class $VerifyDataDtoCopyWith<$Res> { factory $VerifyDataDtoCopyWith(VerifyDataDto value, $Res Function(VerifyDataDto) _then) = _$VerifyDataDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'registration_token') String? registrationToken }); } /// @nodoc class _$VerifyDataDtoCopyWithImpl<$Res> implements $VerifyDataDtoCopyWith<$Res> { _$VerifyDataDtoCopyWithImpl(this._self, this._then); final VerifyDataDto _self; final $Res Function(VerifyDataDto) _then; /// Create a copy of VerifyDataDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? registrationToken = freezed,}) { return _then(VerifyDataDto( registrationToken: freezed == registrationToken ? _self.registrationToken : registrationToken // ignore: cast_nullable_to_non_nullable as String?, )); } } /// Adds pattern-matching-related methods to [VerifyDataDto]. extension VerifyDataDtoPatterns on VerifyDataDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _VerifyDataDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _VerifyDataDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _VerifyDataDto value) $default,){ final _that = this; switch (_that) { case _VerifyDataDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _VerifyDataDto value)? $default,){ final _that = this; switch (_that) { case _VerifyDataDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'registration_token') String? registrationToken)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _VerifyDataDto() when $default != null: return $default(_that.registrationToken);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'registration_token') String? registrationToken) $default,) {final _that = this; switch (_that) { case _VerifyDataDto(): return $default(_that.registrationToken);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'registration_token') String? registrationToken)? $default,) {final _that = this; switch (_that) { case _VerifyDataDto() when $default != null: return $default(_that.registrationToken);case _: return null; } } } /// @nodoc @JsonSerializable() class _VerifyDataDto implements VerifyDataDto { const _VerifyDataDto({@JsonKey(name: 'registration_token') this.registrationToken}); factory _VerifyDataDto.fromJson(Map json) => _$VerifyDataDtoFromJson(json); @override@JsonKey(name: 'registration_token') final String? registrationToken; /// Create a copy of VerifyDataDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$VerifyDataDtoCopyWith<_VerifyDataDto> get copyWith => __$VerifyDataDtoCopyWithImpl<_VerifyDataDto>(this, _$identity); @override Map toJson() { return _$VerifyDataDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _VerifyDataDto&&(identical(other.registrationToken, registrationToken) || other.registrationToken == registrationToken)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,registrationToken); } @override String toString() { return 'VerifyDataDto(registrationToken: $registrationToken)'; } } /// @nodoc abstract mixin class _$VerifyDataDtoCopyWith<$Res> implements $VerifyDataDtoCopyWith<$Res> { factory _$VerifyDataDtoCopyWith(_VerifyDataDto value, $Res Function(_VerifyDataDto) _then) = __$VerifyDataDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'registration_token') String? registrationToken }); } /// @nodoc class __$VerifyDataDtoCopyWithImpl<$Res> implements _$VerifyDataDtoCopyWith<$Res> { __$VerifyDataDtoCopyWithImpl(this._self, this._then); final _VerifyDataDto _self; final $Res Function(_VerifyDataDto) _then; /// Create a copy of VerifyDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? registrationToken = freezed,}) { return _then(_VerifyDataDto( registrationToken: freezed == registrationToken ? _self.registrationToken : registrationToken // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc mixin _$LoginDto { @JsonKey(name: 'status') String? get status;@JsonKey(name: 'message') String? get message;@JsonKey(name: 'data') LoginDataDto? get data; /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $LoginDtoCopyWith get copyWith => _$LoginDtoCopyWithImpl(this as LoginDto, _$identity); /// Serializes this LoginDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as LoginDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is LoginDto&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as LoginDto; return Object.hash(runtimeType,_this.status,_this.message,_this.data); } @override String toString() { final _this = this as LoginDto; return 'LoginDto(status: ${_this.status}, message: ${_this.message}, data: ${_this.data})'; } } /// @nodoc abstract mixin class $LoginDtoCopyWith<$Res> { factory $LoginDtoCopyWith(LoginDto value, $Res Function(LoginDto) _then) = _$LoginDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') LoginDataDto? data }); $LoginDataDtoCopyWith<$Res>? get data; } /// @nodoc class _$LoginDtoCopyWithImpl<$Res> implements $LoginDtoCopyWith<$Res> { _$LoginDtoCopyWithImpl(this._self, this._then); final LoginDto _self; final $Res Function(LoginDto) _then; /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(LoginDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as LoginDataDto?, )); } /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $LoginDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $LoginDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// Adds pattern-matching-related methods to [LoginDto]. extension LoginDtoPatterns on LoginDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _LoginDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _LoginDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _LoginDto value) $default,){ final _that = this; switch (_that) { case _LoginDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _LoginDto value)? $default,){ final _that = this; switch (_that) { case _LoginDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') LoginDataDto? data)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _LoginDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') LoginDataDto? data) $default,) {final _that = this; switch (_that) { case _LoginDto(): return $default(_that.status,_that.message,_that.data);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') LoginDataDto? data)? $default,) {final _that = this; switch (_that) { case _LoginDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return null; } } } /// @nodoc @JsonSerializable() class _LoginDto extends LoginDto { const _LoginDto({@JsonKey(name: 'status') this.status, @JsonKey(name: 'message') this.message, @JsonKey(name: 'data') this.data}): super._(); factory _LoginDto.fromJson(Map json) => _$LoginDtoFromJson(json); @override@JsonKey(name: 'status') final String? status; @override@JsonKey(name: 'message') final String? message; @override@JsonKey(name: 'data') final LoginDataDto? data; /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$LoginDtoCopyWith<_LoginDto> get copyWith => __$LoginDtoCopyWithImpl<_LoginDto>(this, _$identity); @override Map toJson() { return _$LoginDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _LoginDto&&(identical(other.status, status) || other.status == status)&&(identical(other.message, message) || other.message == message)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,status,message,data); } @override String toString() { return 'LoginDto(status: $status, message: $message, data: $data)'; } } /// @nodoc abstract mixin class _$LoginDtoCopyWith<$Res> implements $LoginDtoCopyWith<$Res> { factory _$LoginDtoCopyWith(_LoginDto value, $Res Function(_LoginDto) _then) = __$LoginDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') LoginDataDto? data }); @override $LoginDataDtoCopyWith<$Res>? get data; } /// @nodoc class __$LoginDtoCopyWithImpl<$Res> implements _$LoginDtoCopyWith<$Res> { __$LoginDtoCopyWithImpl(this._self, this._then); final _LoginDto _self; final $Res Function(_LoginDto) _then; /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(_LoginDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as LoginDataDto?, )); } /// Create a copy of LoginDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $LoginDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $LoginDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// @nodoc mixin _$LoginDataDto { @JsonKey(name: 'access_token') String? get accessToken;@JsonKey(name: 'refresh_token') String? get refreshToken;@JsonKey(name: 'user') UserDto? get user; /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $LoginDataDtoCopyWith get copyWith => _$LoginDataDtoCopyWithImpl(this as LoginDataDto, _$identity); /// Serializes this LoginDataDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as LoginDataDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is LoginDataDto&&(identical(other.accessToken, _this.accessToken) || other.accessToken == _this.accessToken)&&(identical(other.refreshToken, _this.refreshToken) || other.refreshToken == _this.refreshToken)&&(identical(other.user, _this.user) || other.user == _this.user)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as LoginDataDto; return Object.hash(runtimeType,_this.accessToken,_this.refreshToken,_this.user); } @override String toString() { final _this = this as LoginDataDto; return 'LoginDataDto(accessToken: ${_this.accessToken}, refreshToken: ${_this.refreshToken}, user: ${_this.user})'; } } /// @nodoc abstract mixin class $LoginDataDtoCopyWith<$Res> { factory $LoginDataDtoCopyWith(LoginDataDto value, $Res Function(LoginDataDto) _then) = _$LoginDataDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'access_token') String? accessToken,@JsonKey(name: 'refresh_token') String? refreshToken,@JsonKey(name: 'user') UserDto? user }); $UserDtoCopyWith<$Res>? get user; } /// @nodoc class _$LoginDataDtoCopyWithImpl<$Res> implements $LoginDataDtoCopyWith<$Res> { _$LoginDataDtoCopyWithImpl(this._self, this._then); final LoginDataDto _self; final $Res Function(LoginDataDto) _then; /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? accessToken = freezed,Object? refreshToken = freezed,Object? user = freezed,}) { return _then(LoginDataDto( accessToken: freezed == accessToken ? _self.accessToken : accessToken // ignore: cast_nullable_to_non_nullable as String?,refreshToken: freezed == refreshToken ? _self.refreshToken : refreshToken // ignore: cast_nullable_to_non_nullable as String?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable as UserDto?, )); } /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $UserDtoCopyWith<$Res>? get user { if (_self.user == null) { return null; } return $UserDtoCopyWith<$Res>(_self.user!, (value) { return _then(_self.copyWith(user: value)); }); } } /// Adds pattern-matching-related methods to [LoginDataDto]. extension LoginDataDtoPatterns on LoginDataDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _LoginDataDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _LoginDataDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _LoginDataDto value) $default,){ final _that = this; switch (_that) { case _LoginDataDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _LoginDataDto value)? $default,){ final _that = this; switch (_that) { case _LoginDataDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'access_token') String? accessToken, @JsonKey(name: 'refresh_token') String? refreshToken, @JsonKey(name: 'user') UserDto? user)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _LoginDataDto() when $default != null: return $default(_that.accessToken,_that.refreshToken,_that.user);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'access_token') String? accessToken, @JsonKey(name: 'refresh_token') String? refreshToken, @JsonKey(name: 'user') UserDto? user) $default,) {final _that = this; switch (_that) { case _LoginDataDto(): return $default(_that.accessToken,_that.refreshToken,_that.user);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'access_token') String? accessToken, @JsonKey(name: 'refresh_token') String? refreshToken, @JsonKey(name: 'user') UserDto? user)? $default,) {final _that = this; switch (_that) { case _LoginDataDto() when $default != null: return $default(_that.accessToken,_that.refreshToken,_that.user);case _: return null; } } } /// @nodoc @JsonSerializable() class _LoginDataDto implements LoginDataDto { const _LoginDataDto({@JsonKey(name: 'access_token') this.accessToken, @JsonKey(name: 'refresh_token') this.refreshToken, @JsonKey(name: 'user') this.user}); factory _LoginDataDto.fromJson(Map json) => _$LoginDataDtoFromJson(json); @override@JsonKey(name: 'access_token') final String? accessToken; @override@JsonKey(name: 'refresh_token') final String? refreshToken; @override@JsonKey(name: 'user') final UserDto? user; /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$LoginDataDtoCopyWith<_LoginDataDto> get copyWith => __$LoginDataDtoCopyWithImpl<_LoginDataDto>(this, _$identity); @override Map toJson() { return _$LoginDataDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _LoginDataDto&&(identical(other.accessToken, accessToken) || other.accessToken == accessToken)&&(identical(other.refreshToken, refreshToken) || other.refreshToken == refreshToken)&&(identical(other.user, user) || other.user == user)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,accessToken,refreshToken,user); } @override String toString() { return 'LoginDataDto(accessToken: $accessToken, refreshToken: $refreshToken, user: $user)'; } } /// @nodoc abstract mixin class _$LoginDataDtoCopyWith<$Res> implements $LoginDataDtoCopyWith<$Res> { factory _$LoginDataDtoCopyWith(_LoginDataDto value, $Res Function(_LoginDataDto) _then) = __$LoginDataDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'access_token') String? accessToken,@JsonKey(name: 'refresh_token') String? refreshToken,@JsonKey(name: 'user') UserDto? user }); @override $UserDtoCopyWith<$Res>? get user; } /// @nodoc class __$LoginDataDtoCopyWithImpl<$Res> implements _$LoginDataDtoCopyWith<$Res> { __$LoginDataDtoCopyWithImpl(this._self, this._then); final _LoginDataDto _self; final $Res Function(_LoginDataDto) _then; /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? accessToken = freezed,Object? refreshToken = freezed,Object? user = freezed,}) { return _then(_LoginDataDto( accessToken: freezed == accessToken ? _self.accessToken : accessToken // ignore: cast_nullable_to_non_nullable as String?,refreshToken: freezed == refreshToken ? _self.refreshToken : refreshToken // ignore: cast_nullable_to_non_nullable as String?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable as UserDto?, )); } /// Create a copy of LoginDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $UserDtoCopyWith<$Res>? get user { if (_self.user == null) { return null; } return $UserDtoCopyWith<$Res>(_self.user!, (value) { return _then(_self.copyWith(user: value)); }); } } /// @nodoc mixin _$UserDto { @JsonKey(name: 'id') String? get id;@JsonKey(name: 'name') String? get name;@JsonKey(name: 'phone_number') String? get phoneNumber;@JsonKey(name: 'birth_date') String? get birthDate; /// Create a copy of UserDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $UserDtoCopyWith get copyWith => _$UserDtoCopyWithImpl(this as UserDto, _$identity); /// Serializes this UserDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as UserDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is UserDto&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.phoneNumber, _this.phoneNumber) || other.phoneNumber == _this.phoneNumber)&&(identical(other.birthDate, _this.birthDate) || other.birthDate == _this.birthDate)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as UserDto; return Object.hash(runtimeType,_this.id,_this.name,_this.phoneNumber,_this.birthDate); } @override String toString() { final _this = this as UserDto; return 'UserDto(id: ${_this.id}, name: ${_this.name}, phoneNumber: ${_this.phoneNumber}, birthDate: ${_this.birthDate})'; } } /// @nodoc abstract mixin class $UserDtoCopyWith<$Res> { factory $UserDtoCopyWith(UserDto value, $Res Function(UserDto) _then) = _$UserDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'id') String? id,@JsonKey(name: 'name') String? name,@JsonKey(name: 'phone_number') String? phoneNumber,@JsonKey(name: 'birth_date') String? birthDate }); } /// @nodoc class _$UserDtoCopyWithImpl<$Res> implements $UserDtoCopyWith<$Res> { _$UserDtoCopyWithImpl(this._self, this._then); final UserDto _self; final $Res Function(UserDto) _then; /// Create a copy of UserDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? name = freezed,Object? phoneNumber = freezed,Object? birthDate = freezed,}) { return _then(UserDto( id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable as String?,phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?,birthDate: freezed == birthDate ? _self.birthDate : birthDate // ignore: cast_nullable_to_non_nullable as String?, )); } } /// Adds pattern-matching-related methods to [UserDto]. extension UserDtoPatterns on UserDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _UserDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _UserDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _UserDto value) $default,){ final _that = this; switch (_that) { case _UserDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _UserDto value)? $default,){ final _that = this; switch (_that) { case _UserDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'id') String? id, @JsonKey(name: 'name') String? name, @JsonKey(name: 'phone_number') String? phoneNumber, @JsonKey(name: 'birth_date') String? birthDate)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _UserDto() when $default != null: return $default(_that.id,_that.name,_that.phoneNumber,_that.birthDate);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'id') String? id, @JsonKey(name: 'name') String? name, @JsonKey(name: 'phone_number') String? phoneNumber, @JsonKey(name: 'birth_date') String? birthDate) $default,) {final _that = this; switch (_that) { case _UserDto(): return $default(_that.id,_that.name,_that.phoneNumber,_that.birthDate);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'id') String? id, @JsonKey(name: 'name') String? name, @JsonKey(name: 'phone_number') String? phoneNumber, @JsonKey(name: 'birth_date') String? birthDate)? $default,) {final _that = this; switch (_that) { case _UserDto() when $default != null: return $default(_that.id,_that.name,_that.phoneNumber,_that.birthDate);case _: return null; } } } /// @nodoc @JsonSerializable() class _UserDto extends UserDto { const _UserDto({@JsonKey(name: 'id') this.id, @JsonKey(name: 'name') this.name, @JsonKey(name: 'phone_number') this.phoneNumber, @JsonKey(name: 'birth_date') this.birthDate}): super._(); factory _UserDto.fromJson(Map json) => _$UserDtoFromJson(json); @override@JsonKey(name: 'id') final String? id; @override@JsonKey(name: 'name') final String? name; @override@JsonKey(name: 'phone_number') final String? phoneNumber; @override@JsonKey(name: 'birth_date') final String? birthDate; /// Create a copy of UserDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$UserDtoCopyWith<_UserDto> get copyWith => __$UserDtoCopyWithImpl<_UserDto>(this, _$identity); @override Map toJson() { return _$UserDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _UserDto&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.phoneNumber, phoneNumber) || other.phoneNumber == phoneNumber)&&(identical(other.birthDate, birthDate) || other.birthDate == birthDate)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,id,name,phoneNumber,birthDate); } @override String toString() { return 'UserDto(id: $id, name: $name, phoneNumber: $phoneNumber, birthDate: $birthDate)'; } } /// @nodoc abstract mixin class _$UserDtoCopyWith<$Res> implements $UserDtoCopyWith<$Res> { factory _$UserDtoCopyWith(_UserDto value, $Res Function(_UserDto) _then) = __$UserDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'id') String? id,@JsonKey(name: 'name') String? name,@JsonKey(name: 'phone_number') String? phoneNumber,@JsonKey(name: 'birth_date') String? birthDate }); } /// @nodoc class __$UserDtoCopyWithImpl<$Res> implements _$UserDtoCopyWith<$Res> { __$UserDtoCopyWithImpl(this._self, this._then); final _UserDto _self; final $Res Function(_UserDto) _then; /// Create a copy of UserDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? name = freezed,Object? phoneNumber = freezed,Object? birthDate = freezed,}) { return _then(_UserDto( id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable as String?,phoneNumber: freezed == phoneNumber ? _self.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?,birthDate: freezed == birthDate ? _self.birthDate : birthDate // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc mixin _$ResendDto { @JsonKey(name: 'status') String? get status;@JsonKey(name: 'message') String? get message;@JsonKey(name: 'data') ResendDataDto? get data; /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $ResendDtoCopyWith get copyWith => _$ResendDtoCopyWithImpl(this as ResendDto, _$identity); /// Serializes this ResendDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as ResendDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is ResendDto&&(identical(other.status, _this.status) || other.status == _this.status)&&(identical(other.message, _this.message) || other.message == _this.message)&&(identical(other.data, _this.data) || other.data == _this.data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as ResendDto; return Object.hash(runtimeType,_this.status,_this.message,_this.data); } @override String toString() { final _this = this as ResendDto; return 'ResendDto(status: ${_this.status}, message: ${_this.message}, data: ${_this.data})'; } } /// @nodoc abstract mixin class $ResendDtoCopyWith<$Res> { factory $ResendDtoCopyWith(ResendDto value, $Res Function(ResendDto) _then) = _$ResendDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') ResendDataDto? data }); $ResendDataDtoCopyWith<$Res>? get data; } /// @nodoc class _$ResendDtoCopyWithImpl<$Res> implements $ResendDtoCopyWith<$Res> { _$ResendDtoCopyWithImpl(this._self, this._then); final ResendDto _self; final $Res Function(ResendDto) _then; /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(ResendDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as ResendDataDto?, )); } /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ResendDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $ResendDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// Adds pattern-matching-related methods to [ResendDto]. extension ResendDtoPatterns on ResendDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _ResendDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _ResendDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _ResendDto value) $default,){ final _that = this; switch (_that) { case _ResendDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _ResendDto value)? $default,){ final _that = this; switch (_that) { case _ResendDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') ResendDataDto? data)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _ResendDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') ResendDataDto? data) $default,) {final _that = this; switch (_that) { case _ResendDto(): return $default(_that.status,_that.message,_that.data);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'status') String? status, @JsonKey(name: 'message') String? message, @JsonKey(name: 'data') ResendDataDto? data)? $default,) {final _that = this; switch (_that) { case _ResendDto() when $default != null: return $default(_that.status,_that.message,_that.data);case _: return null; } } } /// @nodoc @JsonSerializable() class _ResendDto extends ResendDto { const _ResendDto({@JsonKey(name: 'status') this.status, @JsonKey(name: 'message') this.message, @JsonKey(name: 'data') this.data}): super._(); factory _ResendDto.fromJson(Map json) => _$ResendDtoFromJson(json); @override@JsonKey(name: 'status') final String? status; @override@JsonKey(name: 'message') final String? message; @override@JsonKey(name: 'data') final ResendDataDto? data; /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$ResendDtoCopyWith<_ResendDto> get copyWith => __$ResendDtoCopyWithImpl<_ResendDto>(this, _$identity); @override Map toJson() { return _$ResendDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _ResendDto&&(identical(other.status, status) || other.status == status)&&(identical(other.message, message) || other.message == message)&&(identical(other.data, data) || other.data == data)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,status,message,data); } @override String toString() { return 'ResendDto(status: $status, message: $message, data: $data)'; } } /// @nodoc abstract mixin class _$ResendDtoCopyWith<$Res> implements $ResendDtoCopyWith<$Res> { factory _$ResendDtoCopyWith(_ResendDto value, $Res Function(_ResendDto) _then) = __$ResendDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'status') String? status,@JsonKey(name: 'message') String? message,@JsonKey(name: 'data') ResendDataDto? data }); @override $ResendDataDtoCopyWith<$Res>? get data; } /// @nodoc class __$ResendDtoCopyWithImpl<$Res> implements _$ResendDtoCopyWith<$Res> { __$ResendDtoCopyWithImpl(this._self, this._then); final _ResendDto _self; final $Res Function(_ResendDto) _then; /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? status = freezed,Object? message = freezed,Object? data = freezed,}) { return _then(_ResendDto( status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable as String?,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable as ResendDataDto?, )); } /// Create a copy of ResendDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ResendDataDtoCopyWith<$Res>? get data { if (_self.data == null) { return null; } return $ResendDataDtoCopyWith<$Res>(_self.data!, (value) { return _then(_self.copyWith(data: value)); }); } } /// @nodoc mixin _$ResendDataDto { @JsonKey(name: 'otp_token') String? get otpToken;@JsonKey(name: 'expires_in') int? get expiresIn;@JsonKey(name: 'next_resend_in') int? get nextResendIn; /// Create a copy of ResendDataDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $ResendDataDtoCopyWith get copyWith => _$ResendDataDtoCopyWithImpl(this as ResendDataDto, _$identity); /// Serializes this ResendDataDto to a JSON map. Map toJson(); @override bool operator ==(Object other) { final _this = this as ResendDataDto; return identical(this, other) || (other.runtimeType == runtimeType&&other is ResendDataDto&&(identical(other.otpToken, _this.otpToken) || other.otpToken == _this.otpToken)&&(identical(other.expiresIn, _this.expiresIn) || other.expiresIn == _this.expiresIn)&&(identical(other.nextResendIn, _this.nextResendIn) || other.nextResendIn == _this.nextResendIn)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { final _this = this as ResendDataDto; return Object.hash(runtimeType,_this.otpToken,_this.expiresIn,_this.nextResendIn); } @override String toString() { final _this = this as ResendDataDto; return 'ResendDataDto(otpToken: ${_this.otpToken}, expiresIn: ${_this.expiresIn}, nextResendIn: ${_this.nextResendIn})'; } } /// @nodoc abstract mixin class $ResendDataDtoCopyWith<$Res> { factory $ResendDataDtoCopyWith(ResendDataDto value, $Res Function(ResendDataDto) _then) = _$ResendDataDtoCopyWithImpl; @useResult $Res call({ @JsonKey(name: 'otp_token') String? otpToken,@JsonKey(name: 'expires_in') int? expiresIn,@JsonKey(name: 'next_resend_in') int? nextResendIn }); } /// @nodoc class _$ResendDataDtoCopyWithImpl<$Res> implements $ResendDataDtoCopyWith<$Res> { _$ResendDataDtoCopyWithImpl(this._self, this._then); final ResendDataDto _self; final $Res Function(ResendDataDto) _then; /// Create a copy of ResendDataDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? otpToken = freezed,Object? expiresIn = freezed,Object? nextResendIn = freezed,}) { return _then(ResendDataDto( otpToken: freezed == otpToken ? _self.otpToken : otpToken // ignore: cast_nullable_to_non_nullable as String?,expiresIn: freezed == expiresIn ? _self.expiresIn : expiresIn // ignore: cast_nullable_to_non_nullable as int?,nextResendIn: freezed == nextResendIn ? _self.nextResendIn : nextResendIn // ignore: cast_nullable_to_non_nullable as int?, )); } } /// Adds pattern-matching-related methods to [ResendDataDto]. extension ResendDataDtoPatterns on ResendDataDto { /// A variant of `map` that fallback to returning `orElse`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeMap(TResult Function( _ResendDataDto value)? $default,{required TResult orElse(),}){ final _that = this; switch (_that) { case _ResendDataDto() when $default != null: return $default(_that);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// Callbacks receives the raw object, upcasted. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case final Subclass2 value: /// return ...; /// } /// ``` @optionalTypeArgs TResult map(TResult Function( _ResendDataDto value) $default,){ final _that = this; switch (_that) { case _ResendDataDto(): return $default(_that);case _: throw StateError('Unexpected subclass'); } } /// A variant of `map` that fallback to returning `null`. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case final Subclass value: /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? mapOrNull(TResult? Function( _ResendDataDto value)? $default,){ final _that = this; switch (_that) { case _ResendDataDto() when $default != null: return $default(_that);case _: return null; } } /// A variant of `when` that fallback to an `orElse` callback. /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return orElse(); /// } /// ``` @optionalTypeArgs TResult maybeWhen(TResult Function(@JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn, @JsonKey(name: 'next_resend_in') int? nextResendIn)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _ResendDataDto() when $default != null: return $default(_that.otpToken,_that.expiresIn,_that.nextResendIn);case _: return orElse(); } } /// A `switch`-like method, using callbacks. /// /// As opposed to `map`, this offers destructuring. /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case Subclass2(:final field2): /// return ...; /// } /// ``` @optionalTypeArgs TResult when(TResult Function(@JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn, @JsonKey(name: 'next_resend_in') int? nextResendIn) $default,) {final _that = this; switch (_that) { case _ResendDataDto(): return $default(_that.otpToken,_that.expiresIn,_that.nextResendIn);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedClass) { /// case Subclass(:final field): /// return ...; /// case _: /// return null; /// } /// ``` @optionalTypeArgs TResult? whenOrNull(TResult? Function(@JsonKey(name: 'otp_token') String? otpToken, @JsonKey(name: 'expires_in') int? expiresIn, @JsonKey(name: 'next_resend_in') int? nextResendIn)? $default,) {final _that = this; switch (_that) { case _ResendDataDto() when $default != null: return $default(_that.otpToken,_that.expiresIn,_that.nextResendIn);case _: return null; } } } /// @nodoc @JsonSerializable() class _ResendDataDto implements ResendDataDto { const _ResendDataDto({@JsonKey(name: 'otp_token') this.otpToken, @JsonKey(name: 'expires_in') this.expiresIn, @JsonKey(name: 'next_resend_in') this.nextResendIn}); factory _ResendDataDto.fromJson(Map json) => _$ResendDataDtoFromJson(json); @override@JsonKey(name: 'otp_token') final String? otpToken; @override@JsonKey(name: 'expires_in') final int? expiresIn; @override@JsonKey(name: 'next_resend_in') final int? nextResendIn; /// Create a copy of ResendDataDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$ResendDataDtoCopyWith<_ResendDataDto> get copyWith => __$ResendDataDtoCopyWithImpl<_ResendDataDto>(this, _$identity); @override Map toJson() { return _$ResendDataDtoToJson(this, ); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _ResendDataDto&&(identical(other.otpToken, otpToken) || other.otpToken == otpToken)&&(identical(other.expiresIn, expiresIn) || other.expiresIn == expiresIn)&&(identical(other.nextResendIn, nextResendIn) || other.nextResendIn == nextResendIn)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode { return Object.hash(runtimeType,otpToken,expiresIn,nextResendIn); } @override String toString() { return 'ResendDataDto(otpToken: $otpToken, expiresIn: $expiresIn, nextResendIn: $nextResendIn)'; } } /// @nodoc abstract mixin class _$ResendDataDtoCopyWith<$Res> implements $ResendDataDtoCopyWith<$Res> { factory _$ResendDataDtoCopyWith(_ResendDataDto value, $Res Function(_ResendDataDto) _then) = __$ResendDataDtoCopyWithImpl; @override @useResult $Res call({ @JsonKey(name: 'otp_token') String? otpToken,@JsonKey(name: 'expires_in') int? expiresIn,@JsonKey(name: 'next_resend_in') int? nextResendIn }); } /// @nodoc class __$ResendDataDtoCopyWithImpl<$Res> implements _$ResendDataDtoCopyWith<$Res> { __$ResendDataDtoCopyWithImpl(this._self, this._then); final _ResendDataDto _self; final $Res Function(_ResendDataDto) _then; /// Create a copy of ResendDataDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? otpToken = freezed,Object? expiresIn = freezed,Object? nextResendIn = freezed,}) { return _then(_ResendDataDto( otpToken: freezed == otpToken ? _self.otpToken : otpToken // ignore: cast_nullable_to_non_nullable as String?,expiresIn: freezed == expiresIn ? _self.expiresIn : expiresIn // ignore: cast_nullable_to_non_nullable as int?,nextResendIn: freezed == nextResendIn ? _self.nextResendIn : nextResendIn // ignore: cast_nullable_to_non_nullable as int?, )); } } // dart format on