Settings class
- Implemented types
-
- Annotations
-
- @JsonSerializable.new(constructor: 'defaults')
Constructors
-
Settings({required bool autoEnhance, required List<String> avoidEvents, required List<String> avoidStates, required bool createStateFactory, required List<String> enhance, required bool createEventFactory})
-
const
-
Settings.defaults({bool autoEnhance = false, List<String> avoidEvents = const [], List<String> avoidStates = const [], bool createStateFactory = false, List<String> enhance = const [], bool createEventFactory = false})
-
const
-
Settings.fromJson(Map json)
-
factory
Properties
-
autoEnhance
→ bool
-
Whether to automatically include all blocs in the project.
final
-
avoidEvents
→ List<String>
-
A list of class name regex patterns (case sensitive) to use to determine
which event classes should not be enhanced.
final
-
avoidStates
→ List<String>
-
A list of class name regex patterns (case sensitive) to use to determine
which state classes should not be enhanced.
final
-
createEventFactory
→ bool
-
Whether to create a class where all states can be accessed statically.
final
-
createStateFactory
→ bool
-
Whether to create a class where all states can be accessed statically.
final
-
enhance
→ List<String>
-
A list of class name regex patterns (case sensitive) to use to determine
which blocs should be enhanced.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited