isErrored method Null safety

bool isErrored()

Implementation

bool isErrored() {
  return _state == ChannelStates.errored;
}