ListGroupStatsResponse.fromJson constructor

ListGroupStatsResponse.fromJson(
  1. Map _json
)

Implementation

ListGroupStatsResponse.fromJson(core.Map _json)
    : this(
        errorGroupStats: _json.containsKey('errorGroupStats')
            ? (_json['errorGroupStats'] as core.List)
                .map((value) => ErrorGroupStats.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        timeRangeBegin: _json.containsKey('timeRangeBegin')
            ? _json['timeRangeBegin'] as core.String
            : null,
      );