ListProvisioningArtifactsOutput.fromJson constructor

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

Implementation

factory ListProvisioningArtifactsOutput.fromJson(Map<String, dynamic> json) {
  return ListProvisioningArtifactsOutput(
    nextPageToken: json['NextPageToken'] as String?,
    provisioningArtifactDetails: (json['ProvisioningArtifactDetails']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            ProvisioningArtifactDetail.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}