toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'editChatFolderInviteLink',
    if (extra != null) '@extra': extra,
    'chat_folder_id': chat_folder_id,
    'invite_link': invite_link,
    'name': name,
    'chat_ids': chat_ids
  };
}