DisposedException constructor

DisposedException(
  1. String objectName, [
  2. String? methodName
])

Main ctor.

objectName is required and for better debugging shouldn't be runtimeType toString representation.

Implementation

DisposedException(this.objectName, [this.methodName]);