import 'package:json_annotation/json_annotation.dart';

part 'check_phone_response_model.g.dart';
@JsonSerializable()
class CheckPhoneResponseModel {
  @JsonKey(name: 'require_recaptcha')
  bool? requireRecaptcha;

  @JsonKey(name: 'next_action')
  String? nextAction;

  @JsonKey(name: 'mfa_token')
  String? mfaToken;

  @JsonKey(name: 'otp_ttl')
  int? otpTtl;

  CheckPhoneResponseModel({
    this.requireRecaptcha,
    this.nextAction,
    this.mfaToken,
    this.otpTtl,});

  factory CheckPhoneResponseModel.fromJson(Map<String, dynamic> json) => _$CheckPhoneResponseModelFromJson(json);
  Map<String, dynamic> toJson() => _$CheckPhoneResponseModelToJson(this);
}
