toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (issuer != null) 'issuer': issuer!,
      if (notAfterTime != null) 'notAfterTime': notAfterTime!,
      if (notBeforeTime != null) 'notBeforeTime': notBeforeTime!,
      if (parsed != null) 'parsed': parsed!,
      if (rawDer != null) 'rawDer': rawDer!,
      if (serialNumber != null) 'serialNumber': serialNumber!,
      if (sha256Fingerprint != null) 'sha256Fingerprint': sha256Fingerprint!,
      if (subject != null) 'subject': subject!,
      if (subjectAlternativeDnsNames != null)
        'subjectAlternativeDnsNames': subjectAlternativeDnsNames!,
    };