VerifyCodeResponseData.fromJson constructor

VerifyCodeResponseData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VerifyCodeResponseData.fromJson(Map<String, dynamic> json) {
  return VerifyCodeResponseData(
    phone: json['phone']?.toString() ?? '',
    code: json['code']?.toString() ?? '',
    verificationId: json['verificationId']?.toString() ?? '',
    sentAt: json['sentAt']?.toString() ?? '',
  );
}