toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xa8718dc5",
"flags": flags,
"fullWidth": fullWidth,
"allowScrolling": allowScrolling,
"url": url,
"html": html,
"posterPhotoId": posterPhotoId,
"w": w,
"h": h,
"caption": caption,
};
// Finished toJson.
return returnValue;
}