ChatEventMessagePinned.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventMessagePinned.fromJson(Map<String, dynamic> json) => ChatEventMessagePinned(
  message: Message.fromJson(json['message']),
);