ReactiveConfig class Null safety

Configuration used by ReactiveContext

Constructors

ReactiveConfig({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 ReactionImpl.errorValue.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
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 non-existent 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