toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'title': title,
      'is_forum': isForum,
      'is_channel': isChannel,
      'description': description,
      'location': location?.toJson(),
      'message_auto_delete_time': messageAutoDeleteTime,
      'for_import': forImport,
      '@type': constructor,
    };