toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['uuid'] = uuid;
data['type'] = type;
data['size'] = size;
data['width'] = width;
data['height'] = height;
data['url'] = url;
data['localUrl'] = localUrl;
return data;
}