MessageSenders.fromJson constructor

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

Parse from a json

Implementation

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