InvalidStateBlocStateError class

Error thrown when a StateBlocState blocState provided to stateBloc is invalid.

Inheritance
Annotations

Constructors

InvalidStateBlocStateError(StateBloc stateBloc, StateBlocState blocState, {bool causedByInitialState = false, String extraMessage})

Properties

blocKey String
The StateBloc.key of the StateBloc.
read-only
blocState StateBlocState
The invalid StateBlocState.
final
causedByInitialState bool
True if this error was thrown because an invalid initial StateBlocState was provided. [...]
final
extraMessage String
An optional extra message with more details.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
invalidFields Iterable<FieldID>
The FieldIDs of the StateFields contained in the StateBlocState but not in the StateBloc.
read-only
keysMatch bool
True if the keys of the StateBloc and StateBlocState match.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
The stack trace at the point where this error was first thrown. [...]
read-only, inherited
stateBloc StateBloc
The StateBloc provided with invalid StateBlocState blocState.
final
stateKey String
The StateBlocState.blocKey of the StateBlocState.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited