CreateKeysAndCertificateResponse.fromJson constructor

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

Implementation

factory CreateKeysAndCertificateResponse.fromJson(Map<String, dynamic> json) {
  return CreateKeysAndCertificateResponse(
    certificateArn: json['certificateArn'] as String?,
    certificateId: json['certificateId'] as String?,
    certificatePem: json['certificatePem'] as String?,
    keyPair: json['keyPair'] != null
        ? KeyPair.fromJson(json['keyPair'] as Map<String, dynamic>)
        : null,
  );
}