countAsync method
Counts the number of objects that match this query in a background thread. This does not use caching.
Implementation
Future<int> countAsync() async {
final result = await FlutterParse._channel
.invokeMethod('queryInBackground', toString());
if (result is int) {
int count = result;
return count;
}
return 0;
}