SitesListResponse.fromJson constructor
SitesListResponse.fromJson(
- Map json_
Implementation
SitesListResponse.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
sites: json_.containsKey('sites')
? (json_['sites'] as core.List)
.map((value) => Site.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);