DisposeCallbackBaseBloc class

Base bloc that implements BaseBloc.dispose by passing callback to constructor, and call it when BaseBloc.dispose called.

Implemented types

Constructors

DisposeCallbackBaseBloc(void _dispose())
Create a DisposeCallbackBaseBloc by a dispose callback.

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

dispose() → void
close stream controllers, cancel subscriptions
override
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