Certificate.fromJson constructor

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

Implementation

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