GroupAssetsResponse.fromJson constructor

GroupAssetsResponse.fromJson(
  1. Map json_
)

Implementation

GroupAssetsResponse.fromJson(core.Map json_)
    : this(
        groupByResults: json_.containsKey('groupByResults')
            ? (json_['groupByResults'] as core.List)
                .map((value) => GroupResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
      );