toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (body != null) 'body': body!,
  if (header != null) 'header': header!,
  if (image != null) 'image': image!,
  if (sortIndex != null) 'sortIndex': sortIndex!,
  if (uri != null) 'uri': uri!,
  if (viewConstraints != null) 'viewConstraints': viewConstraints!,
};