find method
Find the objects that satisfy the query. Returns an empty list if no objects are found.
Implementation
Future<List<T>> find() async {
ParseResponse parseResponse = await query();
if (parseResponse.success) {
return parseResponse.results?.map((e) => e as T).toList() ?? <T>[];
}
throw parseResponse.error ?? ParseError();
}