PlacementGroupsListResponse.fromJson constructor

PlacementGroupsListResponse.fromJson(
  1. Map json_
)

Implementation

PlacementGroupsListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        placementGroups: json_.containsKey('placementGroups')
            ? (json_['placementGroups'] as core.List)
                .map((value) => PlacementGroup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );