ListSavedReportsResponse.fromJson constructor

ListSavedReportsResponse.fromJson(
  1. Map json_
)

Implementation

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