// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'auth_dtos.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
  'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
);

CheckPhoneDto _$CheckPhoneDtoFromJson(Map<String, dynamic> json) {
  return _CheckPhoneDto.fromJson(json);
}

/// @nodoc
mixin _$CheckPhoneDto {
  @JsonKey(name: 'status')
  String? get status => throw _privateConstructorUsedError;
  @JsonKey(name: 'message')
  String? get message => throw _privateConstructorUsedError;
  @JsonKey(name: 'data')
  CheckPhoneDataDto? get data => throw _privateConstructorUsedError;

  /// Serializes this CheckPhoneDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of CheckPhoneDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $CheckPhoneDtoCopyWith<CheckPhoneDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $CheckPhoneDtoCopyWith<$Res> {
  factory $CheckPhoneDtoCopyWith(
    CheckPhoneDto value,
    $Res Function(CheckPhoneDto) then,
  ) = _$CheckPhoneDtoCopyWithImpl<$Res, CheckPhoneDto>;
  @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, $Val extends CheckPhoneDto>
    implements $CheckPhoneDtoCopyWith<$Res> {
  _$CheckPhoneDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _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(
      _value.copyWith(
            status: freezed == status
                ? _value.status
                : status // ignore: cast_nullable_to_non_nullable
                      as String?,
            message: freezed == message
                ? _value.message
                : message // ignore: cast_nullable_to_non_nullable
                      as String?,
            data: freezed == data
                ? _value.data
                : data // ignore: cast_nullable_to_non_nullable
                      as CheckPhoneDataDto?,
          )
          as $Val,
    );
  }

  /// 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 (_value.data == null) {
      return null;
    }

    return $CheckPhoneDataDtoCopyWith<$Res>(_value.data!, (value) {
      return _then(_value.copyWith(data: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$CheckPhoneDtoImplCopyWith<$Res>
    implements $CheckPhoneDtoCopyWith<$Res> {
  factory _$$CheckPhoneDtoImplCopyWith(
    _$CheckPhoneDtoImpl value,
    $Res Function(_$CheckPhoneDtoImpl) then,
  ) = __$$CheckPhoneDtoImplCopyWithImpl<$Res>;
  @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 __$$CheckPhoneDtoImplCopyWithImpl<$Res>
    extends _$CheckPhoneDtoCopyWithImpl<$Res, _$CheckPhoneDtoImpl>
    implements _$$CheckPhoneDtoImplCopyWith<$Res> {
  __$$CheckPhoneDtoImplCopyWithImpl(
    _$CheckPhoneDtoImpl _value,
    $Res Function(_$CheckPhoneDtoImpl) _then,
  ) : super(_value, _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(
      _$CheckPhoneDtoImpl(
        status: freezed == status
            ? _value.status
            : status // ignore: cast_nullable_to_non_nullable
                  as String?,
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                  as String?,
        data: freezed == data
            ? _value.data
            : data // ignore: cast_nullable_to_non_nullable
                  as CheckPhoneDataDto?,
      ),
    );
  }
}

/// @nodoc
@JsonSerializable()
class _$CheckPhoneDtoImpl extends _CheckPhoneDto {
  const _$CheckPhoneDtoImpl({
    @JsonKey(name: 'status') this.status,
    @JsonKey(name: 'message') this.message,
    @JsonKey(name: 'data') this.data,
  }) : super._();

  factory _$CheckPhoneDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$CheckPhoneDtoImplFromJson(json);

  @override
  @JsonKey(name: 'status')
  final String? status;
  @override
  @JsonKey(name: 'message')
  final String? message;
  @override
  @JsonKey(name: 'data')
  final CheckPhoneDataDto? data;

  @override
  String toString() {
    return 'CheckPhoneDto(status: $status, message: $message, data: $data)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$CheckPhoneDtoImpl &&
            (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 => Object.hash(runtimeType, status, message, data);

  /// Create a copy of CheckPhoneDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$CheckPhoneDtoImplCopyWith<_$CheckPhoneDtoImpl> get copyWith =>
      __$$CheckPhoneDtoImplCopyWithImpl<_$CheckPhoneDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$CheckPhoneDtoImplToJson(this);
  }
}

abstract class _CheckPhoneDto extends CheckPhoneDto {
  const factory _CheckPhoneDto({
    @JsonKey(name: 'status') final String? status,
    @JsonKey(name: 'message') final String? message,
    @JsonKey(name: 'data') final CheckPhoneDataDto? data,
  }) = _$CheckPhoneDtoImpl;
  const _CheckPhoneDto._() : super._();

  factory _CheckPhoneDto.fromJson(Map<String, dynamic> json) =
      _$CheckPhoneDtoImpl.fromJson;

  @override
  @JsonKey(name: 'status')
  String? get status;
  @override
  @JsonKey(name: 'message')
  String? get message;
  @override
  @JsonKey(name: 'data')
  CheckPhoneDataDto? get data;

  /// Create a copy of CheckPhoneDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$CheckPhoneDtoImplCopyWith<_$CheckPhoneDtoImpl> get copyWith =>
      throw _privateConstructorUsedError;
}

CheckPhoneDataDto _$CheckPhoneDataDtoFromJson(Map<String, dynamic> json) {
  return _CheckPhoneDataDto.fromJson(json);
}

/// @nodoc
mixin _$CheckPhoneDataDto {
  @JsonKey(name: 'phone_number')
  String? get phoneNumber => throw _privateConstructorUsedError;

  /// Serializes this CheckPhoneDataDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of CheckPhoneDataDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $CheckPhoneDataDtoCopyWith<CheckPhoneDataDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $CheckPhoneDataDtoCopyWith<$Res> {
  factory $CheckPhoneDataDtoCopyWith(
    CheckPhoneDataDto value,
    $Res Function(CheckPhoneDataDto) then,
  ) = _$CheckPhoneDataDtoCopyWithImpl<$Res, CheckPhoneDataDto>;
  @useResult
  $Res call({@JsonKey(name: 'phone_number') String? phoneNumber});
}

/// @nodoc
class _$CheckPhoneDataDtoCopyWithImpl<$Res, $Val extends CheckPhoneDataDto>
    implements $CheckPhoneDataDtoCopyWith<$Res> {
  _$CheckPhoneDataDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _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(
      _value.copyWith(
            phoneNumber: freezed == phoneNumber
                ? _value.phoneNumber
                : phoneNumber // ignore: cast_nullable_to_non_nullable
                      as String?,
          )
          as $Val,
    );
  }
}

/// @nodoc
abstract class _$$CheckPhoneDataDtoImplCopyWith<$Res>
    implements $CheckPhoneDataDtoCopyWith<$Res> {
  factory _$$CheckPhoneDataDtoImplCopyWith(
    _$CheckPhoneDataDtoImpl value,
    $Res Function(_$CheckPhoneDataDtoImpl) then,
  ) = __$$CheckPhoneDataDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({@JsonKey(name: 'phone_number') String? phoneNumber});
}

/// @nodoc
class __$$CheckPhoneDataDtoImplCopyWithImpl<$Res>
    extends _$CheckPhoneDataDtoCopyWithImpl<$Res, _$CheckPhoneDataDtoImpl>
    implements _$$CheckPhoneDataDtoImplCopyWith<$Res> {
  __$$CheckPhoneDataDtoImplCopyWithImpl(
    _$CheckPhoneDataDtoImpl _value,
    $Res Function(_$CheckPhoneDataDtoImpl) _then,
  ) : super(_value, _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(
      _$CheckPhoneDataDtoImpl(
        phoneNumber: freezed == phoneNumber
            ? _value.phoneNumber
            : phoneNumber // ignore: cast_nullable_to_non_nullable
                  as String?,
      ),
    );
  }
}

/// @nodoc
@JsonSerializable()
class _$CheckPhoneDataDtoImpl implements _CheckPhoneDataDto {
  const _$CheckPhoneDataDtoImpl({
    @JsonKey(name: 'phone_number') this.phoneNumber,
  });

  factory _$CheckPhoneDataDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$CheckPhoneDataDtoImplFromJson(json);

  @override
  @JsonKey(name: 'phone_number')
  final String? phoneNumber;

  @override
  String toString() {
    return 'CheckPhoneDataDto(phoneNumber: $phoneNumber)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$CheckPhoneDataDtoImpl &&
            (identical(other.phoneNumber, phoneNumber) ||
                other.phoneNumber == phoneNumber));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, phoneNumber);

  /// Create a copy of CheckPhoneDataDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$CheckPhoneDataDtoImplCopyWith<_$CheckPhoneDataDtoImpl> get copyWith =>
      __$$CheckPhoneDataDtoImplCopyWithImpl<_$CheckPhoneDataDtoImpl>(
        this,
        _$identity,
      );

  @override
  Map<String, dynamic> toJson() {
    return _$$CheckPhoneDataDtoImplToJson(this);
  }
}

abstract class _CheckPhoneDataDto implements CheckPhoneDataDto {
  const factory _CheckPhoneDataDto({
    @JsonKey(name: 'phone_number') final String? phoneNumber,
  }) = _$CheckPhoneDataDtoImpl;

  factory _CheckPhoneDataDto.fromJson(Map<String, dynamic> json) =
      _$CheckPhoneDataDtoImpl.fromJson;

  @override
  @JsonKey(name: 'phone_number')
  String? get phoneNumber;

  /// Create a copy of CheckPhoneDataDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$CheckPhoneDataDtoImplCopyWith<_$CheckPhoneDataDtoImpl> get copyWith =>
      throw _privateConstructorUsedError;
}

RegisterDto _$RegisterDtoFromJson(Map<String, dynamic> json) {
  return _RegisterDto.fromJson(json);
}

/// @nodoc
mixin _$RegisterDto {
  @JsonKey(name: 'status')
  String? get status => throw _privateConstructorUsedError;
  @JsonKey(name: 'message')
  String? get message => throw _privateConstructorUsedError;
  @JsonKey(name: 'data')
  RegisterDataDto? get data => throw _privateConstructorUsedError;

  /// Serializes this RegisterDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of RegisterDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $RegisterDtoCopyWith<RegisterDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $RegisterDtoCopyWith<$Res> {
  factory $RegisterDtoCopyWith(
    RegisterDto value,
    $Res Function(RegisterDto) then,
  ) = _$RegisterDtoCopyWithImpl<$Res, RegisterDto>;
  @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, $Val extends RegisterDto>
    implements $RegisterDtoCopyWith<$Res> {
  _$RegisterDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _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(
      _value.copyWith(
            status: freezed == status
                ? _value.status
                : status // ignore: cast_nullable_to_non_nullable
                      as String?,
            message: freezed == message
                ? _value.message
                : message // ignore: cast_nullable_to_non_nullable
                      as String?,
            data: freezed == data
                ? _value.data
                : data // ignore: cast_nullable_to_non_nullable
                      as RegisterDataDto?,
          )
          as $Val,
    );
  }

  /// 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 (_value.data == null) {
      return null;
    }

    return $RegisterDataDtoCopyWith<$Res>(_value.data!, (value) {
      return _then(_value.copyWith(data: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$RegisterDtoImplCopyWith<$Res>
    implements $RegisterDtoCopyWith<$Res> {
  factory _$$RegisterDtoImplCopyWith(
    _$RegisterDtoImpl value,
    $Res Function(_$RegisterDtoImpl) then,
  ) = __$$RegisterDtoImplCopyWithImpl<$Res>;
  @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 __$$RegisterDtoImplCopyWithImpl<$Res>
    extends _$RegisterDtoCopyWithImpl<$Res, _$RegisterDtoImpl>
    implements _$$RegisterDtoImplCopyWith<$Res> {
  __$$RegisterDtoImplCopyWithImpl(
    _$RegisterDtoImpl _value,
    $Res Function(_$RegisterDtoImpl) _then,
  ) : super(_value, _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(
      _$RegisterDtoImpl(
        status: freezed == status
            ? _value.status
            : status // ignore: cast_nullable_to_non_nullable
                  as String?,
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                  as String?,
        data: freezed == data
            ? _value.data
            : data // ignore: cast_nullable_to_non_nullable
                  as RegisterDataDto?,
      ),
    );
  }
}

/// @nodoc
@JsonSerializable()
class _$RegisterDtoImpl extends _RegisterDto {
  const _$RegisterDtoImpl({
    @JsonKey(name: 'status') this.status,
    @JsonKey(name: 'message') this.message,
    @JsonKey(name: 'data') this.data,
  }) : super._();

  factory _$RegisterDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$RegisterDtoImplFromJson(json);

  @override
  @JsonKey(name: 'status')
  final String? status;
  @override
  @JsonKey(name: 'message')
  final String? message;
  @override
  @JsonKey(name: 'data')
  final RegisterDataDto? data;

  @override
  String toString() {
    return 'RegisterDto(status: $status, message: $message, data: $data)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$RegisterDtoImpl &&
            (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 => Object.hash(runtimeType, status, message, data);

  /// Create a copy of RegisterDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$RegisterDtoImplCopyWith<_$RegisterDtoImpl> get copyWith =>
      __$$RegisterDtoImplCopyWithImpl<_$RegisterDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$RegisterDtoImplToJson(this);
  }
}

abstract class _RegisterDto extends RegisterDto {
  const factory _RegisterDto({
    @JsonKey(name: 'status') final String? status,
    @JsonKey(name: 'message') final String? message,
    @JsonKey(name: 'data') final RegisterDataDto? data,
  }) = _$RegisterDtoImpl;
  const _RegisterDto._() : super._();

  factory _RegisterDto.fromJson(Map<String, dynamic> json) =
      _$RegisterDtoImpl.fromJson;

  @override
  @JsonKey(name: 'status')
  String? get status;
  @override
  @JsonKey(name: 'message')
  String? get message;
  @override
  @JsonKey(name: 'data')
  RegisterDataDto? get data;

  /// Create a copy of RegisterDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$RegisterDtoImplCopyWith<_$RegisterDtoImpl> get copyWith =>
      throw _privateConstructorUsedError;
}

RegisterDataDto _$RegisterDataDtoFromJson(Map<String, dynamic> json) {
  return _RegisterDataDto.fromJson(json);
}

/// @nodoc
mixin _$RegisterDataDto {
  @JsonKey(name: 'registration_token')
  String? get registrationToken => throw _privateConstructorUsedError;
  @JsonKey(name: 'otp_token')
  String? get otpToken => throw _privateConstructorUsedError;
  @JsonKey(name: 'expires_in')
  int? get expiresIn => throw _privateConstructorUsedError;

  /// Serializes this RegisterDataDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of RegisterDataDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $RegisterDataDtoCopyWith<RegisterDataDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $RegisterDataDtoCopyWith<$Res> {
  factory $RegisterDataDtoCopyWith(
    RegisterDataDto value,
    $Res Function(RegisterDataDto) then,
  ) = _$RegisterDataDtoCopyWithImpl<$Res, RegisterDataDto>;
  @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, $Val extends RegisterDataDto>
    implements $RegisterDataDtoCopyWith<$Res> {
  _$RegisterDataDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _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(
      _value.copyWith(
            registrationToken: freezed == registrationToken
                ? _value.registrationToken
                : registrationToken // ignore: cast_nullable_to_non_nullable
                      as String?,
            otpToken: freezed == otpToken
                ? _value.otpToken
                : otpToken // ignore: cast_nullable_to_non_nullable
                      as String?,
            expiresIn: freezed == expiresIn
                ? _value.expiresIn
                : expiresIn // ignore: cast_nullable_to_non_nullable
                      as int?,
          )
          as $Val,
    );
  }
}

/// @nodoc
abstract class _$$RegisterDataDtoImplCopyWith<$Res>
    implements $RegisterDataDtoCopyWith<$Res> {
  factory _$$RegisterDataDtoImplCopyWith(
    _$RegisterDataDtoImpl value,
    $Res Function(_$RegisterDataDtoImpl) then,
  ) = __$$RegisterDataDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({
    @JsonKey(name: 'registration_token') String? registrationToken,
    @JsonKey(name: 'otp_token') String? otpToken,
    @JsonKey(name: 'expires_in') int? expiresIn,
  });
}

/// @nodoc
class __$$RegisterDataDtoImplCopyWithImpl<$Res>
    extends _$RegisterDataDtoCopyWithImpl<$Res, _$RegisterDataDtoImpl>
    implements _$$RegisterDataDtoImplCopyWith<$Res> {
  __$$RegisterDataDtoImplCopyWithImpl(
    _$RegisterDataDtoImpl _value,
    $Res Function(_$RegisterDataDtoImpl) _then,
  ) : super(_value, _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(
      _$RegisterDataDtoImpl(
        registrationToken: freezed == registrationToken
            ? _value.registrationToken
            : registrationToken // ignore: cast_nullable_to_non_nullable
                  as String?,
        otpToken: freezed == otpToken
            ? _value.otpToken
            : otpToken // ignore: cast_nullable_to_non_nullable
                  as String?,
        expiresIn: freezed == expiresIn
            ? _value.expiresIn
            : expiresIn // ignore: cast_nullable_to_non_nullable
                  as int?,
      ),
    );
  }
}

/// @nodoc
@JsonSerializable()
class _$RegisterDataDtoImpl implements _RegisterDataDto {
  const _$RegisterDataDtoImpl({
    @JsonKey(name: 'registration_token') this.registrationToken,
    @JsonKey(name: 'otp_token') this.otpToken,
    @JsonKey(name: 'expires_in') this.expiresIn,
  });

  factory _$RegisterDataDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$RegisterDataDtoImplFromJson(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;

  @override
  String toString() {
    return 'RegisterDataDto(registrationToken: $registrationToken, otpToken: $otpToken, expiresIn: $expiresIn)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$RegisterDataDtoImpl &&
            (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 =>
      Object.hash(runtimeType, registrationToken, otpToken, expiresIn);

  /// Create a copy of RegisterDataDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$RegisterDataDtoImplCopyWith<_$RegisterDataDtoImpl> get copyWith =>
      __$$RegisterDataDtoImplCopyWithImpl<_$RegisterDataDtoImpl>(
        this,
        _$identity,
      );

  @override
  Map<String, dynamic> toJson() {
    return _$$RegisterDataDtoImplToJson(this);
  }
}

abstract class _RegisterDataDto implements RegisterDataDto {
  const factory _RegisterDataDto({
    @JsonKey(name: 'registration_token') final String? registrationToken,
    @JsonKey(name: 'otp_token') final String? otpToken,
    @JsonKey(name: 'expires_in') final int? expiresIn,
  }) = _$RegisterDataDtoImpl;

  factory _RegisterDataDto.fromJson(Map<String, dynamic> json) =
      _$RegisterDataDtoImpl.fromJson;

  @override
  @JsonKey(name: 'registration_token')
  String? get registrationToken;
  @override
  @JsonKey(name: 'otp_token')
  String? get otpToken;
  @override
  @JsonKey(name: 'expires_in')
  int? get expiresIn;

  /// Create a copy of RegisterDataDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$RegisterDataDtoImplCopyWith<_$RegisterDataDtoImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
