ReactiveConfig class
Configuration used by ReactiveContext
Constructors
- ReactiveConfig.new({bool disableErrorBoundaries = false, ReactiveWritePolicy writePolicy = ReactiveWritePolicy.observed, ReactiveReadPolicy readPolicy = ReactiveReadPolicy.never, int maxIterations = 100, bool isSpyEnabled = false})
Properties
- disableErrorBoundaries → bool
-
Whether MobX should throw exceptions instead of catching them and store
as Derivation.errorValue.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSpyEnabled → bool
-
final
- maxIterations → int
-
Max number of iterations before bailing out for a cyclic reaction
final
- readPolicy → ReactiveReadPolicy
-
Enforce the use of reactions for reading observables
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- writePolicy → ReactiveWritePolicy
-
Enforce mutation of observables inside an action
final
Methods
-
clone(
{bool? disableErrorBoundaries, ReactiveWritePolicy? writePolicy, ReactiveReadPolicy? readPolicy, int? maxIterations, bool? isSpyEnabled}) → ReactiveConfig -
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
- main → ReactiveConfig
-
The main or default configuration used by ReactiveContext
final