MediaPage.fromJson constructor
MediaPage.fromJson(
- Album album,
- dynamic json
Creates a range of media from platform channel protocol.
Implementation
MediaPage.fromJson(this.album, dynamic json)
: newest = json['newest'],
start = json['start'],
total = json['total'],
items = json['items'].map<Medium>((x) => Medium.fromJson(x)).toList();