toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json['otpId'] = otpId;
_json['otpCode'] = otpCode;
if (expirationSeconds != null) {
_json['expirationSeconds'] = expirationSeconds;
}
if (publicKey != null) {
_json['publicKey'] = publicKey;
}
return _json;
}