Closable class abstract

Closable class that must implement close method.

Implementers

Constructors

Closable()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Releasing resources that a class is using.
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

Static Methods

closeWith(dynamic possibleClosable) → void
If provided possibleClosable instance is Closable it will close it. It is helper method pass any instance here and it will be closed if can.