Bloc class

Bloc interface. Extend this class to create an interface for a BlocImpl.

See BlocImpl for more information.

Implementers

Constructors

Bloc()

Properties

actionObservable Observable<Action>
The Observable carrying Actions from the Dispatcher.
@protected, read-only
closed bool
True if this Bloc has been closed or actionObservable has finished.
read-only
fieldIDs Iterable<FieldID>
FieldIDs for all registered Fields.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
key String
A unique identifer for this Bloc.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Dispose of all resources. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited