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