CreateProvisioningArtifactOutput.fromJson constructor

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

Implementation

factory CreateProvisioningArtifactOutput.fromJson(Map<String, dynamic> json) {
  return CreateProvisioningArtifactOutput(
    info: (json['Info'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    provisioningArtifactDetail: json['ProvisioningArtifactDetail'] != null
        ? ProvisioningArtifactDetail.fromJson(
            json['ProvisioningArtifactDetail'] as Map<String, dynamic>)
        : null,
    status: (json['Status'] as String?)?.toStatus(),
  );
}