PageBlockPhoto.fromJson constructor
Parses a PageBlockPhoto from TDLib JSON.
Implementation
factory PageBlockPhoto.fromJson(Map<String, dynamic> json) => PageBlockPhoto(
photo: _readOptional(json['photo'], Photo.fromJson),
caption: _readObject(json['caption'], PageBlockCaption.fromJson),
url: _readString(json['url']),
);