MessageChatAddMembers.fromJson constructor

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

Parse from a json

Implementation

factory MessageChatAddMembers.fromJson(Map<String, dynamic> json) =>
    MessageChatAddMembers(
      memberUserIds: List<int>.from(
          (json['member_user_ids'] ?? []).map((item) => item).toList()),
    );