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