toJson method

Map<String, dynamic> toJson()

Implementation

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