ListReportsResponse.fromJson constructor

ListReportsResponse.fromJson(
  1. Map json_
)

Implementation

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