joinGroup static method

Future<GroupMember> joinGroup(
  1. JoinGroupQuery query
)

Implementation

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