cancel method - ConnectionTask class - dart:io library (original) (raw)
void cancel()
Cancels the connection attempt.
This also causes the socket Future
to complete with aSocketException error.
Implementation
void cancel() {
_onCancel();
}
void cancel()
Cancels the connection attempt.
This also causes the socket Future
to complete with aSocketException error.
void cancel() {
_onCancel();
}