OtpSentResponseData.fromJson constructor

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

Implementation

factory OtpSentResponseData.fromJson(Map<String, dynamic> json) {
  return OtpSentResponseData(
    interval: json['interval'],
    otpRequired: json['otp_required'],
    token: json['token'],
    userType: json['user_type'],
  );
}