getLabels static method
Get labels matching query.
pagingQuery
Query parameters.
Implementation
static Future<PagingResult<Label>> getLabels(
PagingQuery<LabelsQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getLabels', jsonEncode(pagingQuery.toJSON()))
.then((result) => new PagingResult.fromJSON(jsonDecode(result),
(Map<String, dynamic> raw) => Label.fromJSON(raw)));
}