toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (creationTime != null) 'creationTime': creationTime!,
if (height != null) 'height': height!,
if (photo != null) 'photo': photo!,
if (video != null) 'video': video!,
if (width != null) 'width': width!,
};