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