close method

Future<void> close()

Implementation

Future<void> close() async {
  _stopListeningToShimEvents();
  await _closeBaseStreams();
  if (_internalHandle != null) {
    Phidget.unregisterInstance(identityHashCode(this));
  }
}