ModelPackageGroupSummary.fromJson constructor

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

Implementation

factory ModelPackageGroupSummary.fromJson(Map<String, dynamic> json) {
  return ModelPackageGroupSummary(
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    modelPackageGroupArn: json['ModelPackageGroupArn'] as String,
    modelPackageGroupName: json['ModelPackageGroupName'] as String,
    modelPackageGroupStatus: (json['ModelPackageGroupStatus'] as String)
        .toModelPackageGroupStatus(),
    modelPackageGroupDescription:
        json['ModelPackageGroupDescription'] as String?,
  );
}