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