ClosableResource class abstract

A Resource which can be explicitly closed.

Implemented types
Implementers

Constructors

ClosableResource()

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Whether this resource has been closed.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes this resource and frees the resources it uses.
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