abort method Null safety

void abort ()

Stop the current request.

The request can only be stopped if readyState is HEADERS_RECEIVED or LOADING. If this method is not in the process of being sent, the method has no effect.

Implementation

void abort() native;