FrConfig class
FlowR global config
void main() {
FrConfig.initialize(
frUnion: FrUnion.of({CounterM(0)}),
);
runApp(const MyApp());
}
Properties
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
Static Properties
- I → FrConfig
-
Last applied config.
no setter
- instanceOrNull → FrConfig?
-
no setter
- isInitialized → bool
-
no setter
Static Methods
-
initialize(
{Level logLevel = Level.INFO, FrLogRecordPrinter printer = LoggableMx.devLogRecordPrinter, FrUnion? frUnion, GetIt? di}) → FrConfig - Creates and applies the global FlowR configuration.
-
reset(
{GetIt? di, bool unregisterFrUnion = false}) → Future< void> - Clears FlowR's global log listener and optionally unregisters FrUnionViewModel.