toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'webPageInstantView',
    if (extra != null) '@extra': extra,
    'page_blocks': page_blocks,
    'view_count': view_count,
    'version': version,
    'is_rtl': is_rtl,
    'is_full': is_full,
    'feedback_link': feedback_link
  };
}