toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'old_linked_chat_id': oldLinkedChatId,
      'new_linked_chat_id': newLinkedChatId,
      '@type': constructor,
    };