delete static method
deletes the document in collection
with id
throws UnsupportedError if user has no access rights or document ist does not exist
Implementation
static Future<ParseDocResponse> delete(String collection, String id) async {
var response = await http.delete('$_url/parse/classes/$collection/$id',
headers: _headers);
_errorHandler(response);
return ParseDocResponse(response.statusCode == 200,
DocReference(collection, id), DateTime.now());
}