getVotes static method
Get votes.
pagingQuery
Query parameters.
Implementation
static Future<PagingResult<UserVotes>> getVotes(
PagingQuery<VotesQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getVotes', jsonEncode(pagingQuery.toJSON()))
.then((result) => new PagingResult.fromJSON(jsonDecode(result),
(Map<String, dynamic> raw) => UserVotes.fromJSON(raw)));
}