close method

void close()

Implementation

void close() {
  if (_state != null) {
    _state?.close();
  }
}