findUsers static method
Find users.
pagingQuery
Search parameter.
Implementation
static Future<PagingResult<User>> findUsers(
PagingQuery<UsersQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getUsers', jsonEncode(pagingQuery.toJSON()))
.then((result) {
return new PagingResult.fromJSON(
jsonDecode(result), (Map<String, dynamic> raw) => User.fromJSON(raw));
});
}