shutdown method
Implementation
void shutdown() {
_state = State.SHUTDOWN;
if (_currentCall != null) {
_currentCall.completer.completeError('SHUTDOWN');
}
}
void shutdown() {
_state = State.SHUTDOWN;
if (_currentCall != null) {
_currentCall.completer.completeError('SHUTDOWN');
}
}