FoldableError class
A typed failure from reading or decoding native measurements.
Constructors
- FoldableError(ErrorCode code, String message)
-
Creates this measurement value.
const
Properties
- code → ErrorCode
-
Stable error category.
final
-
fields
→ List<
Object?> -
Fields used for value equality, hashing and diagnostics.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable diagnostic, not intended for matching program logic.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ErrorCode? code, String? message}) → FoldableError - Copies this value with selected fields replaced.
-
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