toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'uid': uid,
'type': type,
'url': url,
'content-type': contentType,
'size': size,
'name': name,
'data': data,
'width': width,
'height': height,
'duration': duration
};