toJson method

Map<String, dynamic> toJson()

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;
}