CACertificate.fromJson constructor

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

Implementation

factory CACertificate.fromJson(Map<String, dynamic> json) {
  return CACertificate(
    certificateArn: json['certificateArn'] as String?,
    certificateId: json['certificateId'] as String?,
    creationDate: timeStampFromJson(json['creationDate']),
    status: (json['status'] as String?)?.toCACertificateStatus(),
  );
}