ConfirmOtp.fromJson constructor
Implementation
ConfirmOtp.fromJson(Map<String, dynamic> json) {
if (json["status"] is bool) this.status = json["status"];
if (json["limit"] is int) this.limit = json["limit"];
if (json["token"] is String) this.token = json["token"];
if (json["confirmedCode"] is bool)
this.confirmedCode = json["confirmedCode"];
if (json["confirmType"] is int) this.confirmType = json["confirmType"];
}