toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (ciphers != null) 'ciphers': ciphers!,
  if (clientAuthEnabled != null) 'clientAuthEnabled': clientAuthEnabled!,
  if (commonName != null) 'commonName': commonName!,
  if (enabled != null) 'enabled': enabled!,
  if (enforce != null) 'enforce': enforce!,
  if (ignoreValidationErrors != null)
    'ignoreValidationErrors': ignoreValidationErrors!,
  if (keyAlias != null) 'keyAlias': keyAlias!,
  if (keyAliasReference != null) 'keyAliasReference': keyAliasReference!,
  if (protocols != null) 'protocols': protocols!,
  if (trustStore != null) 'trustStore': trustStore!,
};