RiverpodGenerator class
Generates Riverpod-based state management classes for each API category.
Each generated Riverpod file:
- Uses
StateNotifierfor logic - Defines a
StateNotifierProvider - Contains
Result<T>fields for all API actions - Provides async methods to call facade functions and update state
- Replaces Bloc/Event/State/Provider with a single clean Riverpod file
Constructors
Properties
Methods
-
generateRiverpodForCategory(
String category) → void - Generates a Riverpod file for a specific category
-
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