ListViewsResponse.fromJson constructor

ListViewsResponse.fromJson(
  1. Map json_
)

Implementation

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