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