abort abstract method
Cancel this request. If the request has already finished, this will do nothing.
If automatic retrying is enabled, this will also cancel a retry attempt if one is in flight and prevent any further retry attempts.
Implementation
void abort([Object? error]);