ChatEventAvailableReactionsChanged.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventAvailableReactionsChanged.fromJson(
        Map<String, dynamic> json) =>
    ChatEventAvailableReactionsChanged(
      oldAvailableReactions:
          ChatAvailableReactions.fromJson(json['old_available_reactions']),
      newAvailableReactions:
          ChatAvailableReactions.fromJson(json['new_available_reactions']),
    );