all static method
Gets a list of all users (limited return)
Implementation
static Future<ParseResponse> all({bool? debug, ParseClient? client}) async {
final ParseUser emptyUser = _getEmptyUser();
final bool _debug = isDebugEnabled(objectLevelDebug: debug);
final ParseClient _client = client ??
ParseCoreData().clientCreator(
sendSessionId: true,
securityContext: ParseCoreData().securityContext);
try {
final Uri url = getSanitisedUri(_client, path);
final ParseNetworkResponse response = await _client.get(url.toString());
final ParseResponse parseResponse = handleResponse<ParseUser>(
emptyUser, response, ParseApiRQ.getAll, _debug, keyClassUser);
return parseResponse;
} on Exception catch (e) {
return handleException(e, ParseApiRQ.getAll, _debug, keyClassUser);
}
}