toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'width': width,
      'height': height,
      'html': html,
      'public_data': publicData,
      'chat_data': chatData,
      'caption': caption?.toJson(),
      'show_caption_above_media': showCaptionAboveMedia,
      'allow_queries': allowQueries,
      'is_shared': isShared,
      '@type': constructor,
    };