ReadableFromFunc class

Simple Implementation of Readable. Typically this will be used as an Adapter.

Implemented types

Constructors

ReadableFromFunc(T _read<T>())
_read will be the function that is called for read.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read<T>() → T
T will find an instance saved under that class in the environment. Will throw an error if none can be found.
override
toString() String
A string representation of this object.
inherited

Operators

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