StepMetrics class
Immutable metrics data for a single step execution
Constructors
Properties
- duration ↔ Duration
-
Duration of step execution
getter/setter pair
- error ↔ Object?
-
Error that occurred during execution (if any)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess ↔ bool
-
Whether step completed successfully
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime
-
When step execution started
final
Methods
-
copyWith(
{Duration? duration, bool? isSuccess, Object? error}) → StepMetrics - Creates a copy of metrics with updated fields
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited