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