ProxyTVerifyOtpBody.fromJson constructor

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

Implementation

factory ProxyTVerifyOtpBody.fromJson(Map<String, dynamic> json) {
  final _otpId = json['otpId'] as String;
  final _otpCode = json['otpCode'] as String;
  final _publicKey = json['publicKey'] as String?;
  return ProxyTVerifyOtpBody(
    otpId: _otpId,
    otpCode: _otpCode,
    publicKey: _publicKey,
  );
}