toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final internalUserDatabaseEnabled = this.internalUserDatabaseEnabled;
  final masterUserOptions = this.masterUserOptions;
  final sAMLOptions = this.sAMLOptions;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (internalUserDatabaseEnabled != null)
      'InternalUserDatabaseEnabled': internalUserDatabaseEnabled,
    if (masterUserOptions != null) 'MasterUserOptions': masterUserOptions,
    if (sAMLOptions != null) 'SAMLOptions': sAMLOptions,
  };
}