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 (ignoreValidationErrors != null)
        'ignoreValidationErrors': ignoreValidationErrors!,
      if (keyAlias != null) 'keyAlias': keyAlias!,
      if (keyStore != null) 'keyStore': keyStore!,
      if (protocols != null) 'protocols': protocols!,
      if (trustStore != null) 'trustStore': trustStore!,
    };