ClientCertificate.fromJson constructor

ClientCertificate.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ClientCertificate.fromJson(Map<String, dynamic> json) {
  return ClientCertificate(
    clientCertificateId: json['clientCertificateId'] as String?,
    createdDate: timeStampFromJson(json['createdDate']),
    description: json['description'] as String?,
    expirationDate: timeStampFromJson(json['expirationDate']),
    pemEncodedCertificate: json['pemEncodedCertificate'] as String?,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}