getGroupsCount static method

Future<int> getGroupsCount(
  1. GroupsQuery query
)

Implementation

static Future<int> getGroupsCount(GroupsQuery query) {
  return NativeBridge.async(
          'Communities.getGroupsCount', jsonEncode(query.toJSON()))
      .then((result) => jsonDecode(result)['result']);
}