distinct<T extends ParseObject> method

Future<ParseResponse> distinct<T extends ParseObject>(
  1. String query
)

Implementation

Future<ParseResponse> distinct<T extends ParseObject>(String query) async {
  try {
    final Uri url = getSanitisedUri(_client, _aggregatepath, query: query);
    final ParseNetworkResponse result = await _client.get(url.toString());
    return handleResponse<T>(
        this, result, ParseApiRQ.query, _debug, parseClassName);
  } on Exception catch (e) {
    return handleException(e, ParseApiRQ.query, _debug, parseClassName);
  }
}