disposeMapped method

void disposeMapped(
  1. T object
)

Implementation

void disposeMapped(T object) {
  if (object is Disposable) {
    object.dispose();
  }
}