toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['enabledProviders'] = enabledProviders;
  _json['sessionExpirationSeconds'] = sessionExpirationSeconds;
  _json['organizationId'] = organizationId;
  if (oauthClientIds != null) {
    _json['oauthClientIds'] = oauthClientIds;
  }
  if (oauthRedirectUrl != null) {
    _json['oauthRedirectUrl'] = oauthRedirectUrl;
  }
  if (otpAlphanumeric != null) {
    _json['otpAlphanumeric'] = otpAlphanumeric;
  }
  if (otpLength != null) {
    _json['otpLength'] = otpLength;
  }
  return _json;
}