ExportedExpansionBreak class

A screen a max-length probe broke — a fact about the app, not about any one string, because under batch expansion every value on it moved at once.

Constructors

ExportedExpansionBreak({required String scenario, required int level, String? step, int? stepIndex, int overflows = 0, String? failure})
const

Properties

failure → String?
Set when the scenario itself failed under expansion — the suite cannot even complete at this level, which is the strongest break there is.
final
hashCode → int
The hash code for this object.
no setterinherited
level → int
The lowest probed level at which it broke.
final
overflows → int
Layout overflow errors on that step, at level.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scenario → String
file/name, as a run reports a scenario.
final
step → String?
The step it broke on, when the break was a layout overflow the probe swallowed. Absent when the whole scenario went red instead.
final
stepIndex → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, Object?> json) → ExportedExpansionBreak