addGroupMembers static method

Future<List<GroupMember>> addGroupMembers(
  1. AddGroupMembersQuery query
)

Implementation

static Future<List<GroupMember>> addGroupMembers(AddGroupMembersQuery query) {
  return NativeBridge.async(
          'Communities.updateGroupMembers', jsonEncode(query.toJSON()))
      .then((result) => Utils.createList(jsonDecode(result),
          (Map<String, dynamic> raw) => GroupMember.fromJSON(raw)));
}