ChatMessageSenders.fromJson constructor

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

Parse from a json

Implementation

factory ChatMessageSenders.fromJson(Map<String, dynamic> json) =>
    ChatMessageSenders(
      senders: List<ChatMessageSender>.from((json['senders'] ?? [])
          .map((item) => ChatMessageSender.fromJson(item))
          .toList()),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );