RxBloc class
BloC class that the generator will be looking for.
Constructors
- RxBloc({String eventsClassName = 'Events', String statesClassName = 'States'})
-
By convention the
Events
class should be composed of ${blocName}Events. For instance of the BloC class name isCounterBloc
the events abstract class should be namedabstract class CounterEvents
. In case you want to name it differently just provide the expected name in eventsClassName.const
Properties
- eventsClassName → String
-
Events class that the generator will be looking for.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statesClassName → String
-
States class that the generator will be looking for.
final
Methods
-
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