Certificate.fromJson constructor
Certificate.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Certificate.fromJson(Map<String, dynamic> json) {
return Certificate(
certificateArn: json['CertificateArn'] as String?,
certificateCreationDate:
timeStampFromJson(json['CertificateCreationDate']),
certificateIdentifier: json['CertificateIdentifier'] as String?,
certificateOwner: json['CertificateOwner'] as String?,
certificatePem: json['CertificatePem'] as String?,
certificateWallet:
_s.decodeNullableUint8List(json['CertificateWallet'] as String?),
keyLength: json['KeyLength'] as int?,
signingAlgorithm: json['SigningAlgorithm'] as String?,
validFromDate: timeStampFromJson(json['ValidFromDate']),
validToDate: timeStampFromJson(json['ValidToDate']),
);
}