getTopics static method
Find topics.
pagingQuery
Query parameter.
Implementation
static Future<PagingResult<Topic>> getTopics(
PagingQuery<TopicsQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getTopics', jsonEncode(pagingQuery.toJSON()))
.then((result) => new PagingResult.fromJSON(jsonDecode(result),
(Map<String, dynamic> raw) => Topic.fromJSON(raw)));
}