getReferredUsers static method
Returns list of users who were referred by this user for a specific event.
pagingQuery
Users query.
Implementation
static Future<PagingResult<ReferralUser>> getReferredUsers(
PagingQuery<ReferralUsersQuery> pagingQuery) {
return NativeBridge.async(
'Invites.getReferredUsers', jsonEncode(pagingQuery.toJSON()))
.then((value) => new PagingResult.fromJSON(jsonDecode(value),
(Map<String, dynamic> raw) => ReferralUser.fromJSON(raw)));
}