toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (byteSize != null) 'byteSize': byteSize!,
  if (contextLink != null) 'contextLink': contextLink!,
  if (height != null) 'height': height!,
  if (thumbnailHeight != null) 'thumbnailHeight': thumbnailHeight!,
  if (thumbnailLink != null) 'thumbnailLink': thumbnailLink!,
  if (thumbnailWidth != null) 'thumbnailWidth': thumbnailWidth!,
  if (width != null) 'width': width!,
};