state property

S state

Implementation

S get state {
  final _state = this._state;
  if (_state != null) {
    return _state;
  } else {
    throw StateError('state is accessed before it is set');
  }
}