ListModelPackageGroupsOutput.fromJson constructor

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

Implementation

factory ListModelPackageGroupsOutput.fromJson(Map<String, dynamic> json) {
  return ListModelPackageGroupsOutput(
    modelPackageGroupSummaryList:
        (json['ModelPackageGroupSummaryList'] as List)
            .whereNotNull()
            .map((e) =>
                ModelPackageGroupSummary.fromJson(e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}