maybeDispose method

void maybeDispose()

Implementation

void maybeDispose() {
  if (disposeOnWidgetDisposal) {
    dispose();
  }
}