ObjectDisposedException class

/// The exception that is thrown when accessing an object that was disposed.

Inheritance
Implemented types

Constructors

ObjectDisposedException({String? message = 'Cannot access a disposed object.', Exception? innerException, StackTrace? stackTrace, String? objectName})

Properties

hashCode int
The hash code for this object.
no setterinherited
innerException Exception?
The Exception instance that caused the current exception.
no setterinherited
message String?
Gets the text for the message for this exception.
no setter
objectName String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The string representation of the immediate frames on the call stack.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited