fromJSON static method
Implementation
static Enable2faRequest fromJSON(Map<String, dynamic> data) {
return Enable2faRequest(
secret: (data["secret"] as String),
otpLength: (data["otpLength"] as int)
);
}
static Enable2faRequest fromJSON(Map<String, dynamic> data) {
return Enable2faRequest(
secret: (data["secret"] as String),
otpLength: (data["otpLength"] as int)
);
}