toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (enabled != null) 'enabled': enabled!,
      if (oauth2ClientId != null) 'oauth2ClientId': oauth2ClientId!,
      if (oauth2ClientSecret != null)
        'oauth2ClientSecret': oauth2ClientSecret!,
      if (oauth2ClientSecretSha256 != null)
        'oauth2ClientSecretSha256': oauth2ClientSecretSha256!,
    };