MessageChatShared.fromJson constructor

MessageChatShared.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory MessageChatShared.fromJson(Map<String, dynamic> json) =>
    MessageChatShared(
      chatId: json['chat_id'],
      buttonId: json['button_id'],
    );