MessageBasicGroupChatCreate.fromJson constructor

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

Parse from a json

Implementation

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