toJson method
Returns a JSON representation of this object.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.originalUrl: originalUrl,
ApiFields.thumbUrl: thumbUrl,
ApiFields.largeUrl: largeUrl,
ApiFields.caption: caption,
};
}