ProjectList.fromJson constructor
ProjectList.fromJson(
- Map json_
Implementation
ProjectList.fromJson(core.Map json_)
: this(
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
projects: json_.containsKey('projects')
? (json_['projects'] as core.List)
.map((value) => ProjectListProjects.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
totalItems: json_.containsKey('totalItems')
? json_['totalItems'] as core.int
: null,
);