ProvisioningArtifactSummary.fromJson constructor

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

Implementation

factory ProvisioningArtifactSummary.fromJson(Map<String, dynamic> json) {
  return ProvisioningArtifactSummary(
    createdTime: timeStampFromJson(json['CreatedTime']),
    description: json['Description'] as String?,
    id: json['Id'] as String?,
    name: json['Name'] as String?,
    provisioningArtifactMetadata:
        (json['ProvisioningArtifactMetadata'] as Map<String, dynamic>?)
            ?.map((k, e) => MapEntry(k, e as String)),
  );
}