toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    '\$hash': 'a8718dc5',
    '\$name': 'PageBlockEmbed',
    'flags': flags,
    'fullWidth': fullWidth,
    'allowScrolling': allowScrolling,
    'url': url,
    'html': html,
    'posterPhotoId': posterPhotoId,
    'w': w,
    'h': h,
    'caption': caption,
  };

  // Finished toJson.
  return returnValue;
}