Shot class

Per-call override of a scenario's screenshot behaviour.

Shot('Name') captures and names the step — a named shot is a primary node in the flow graph, an automatic one is collapsible detail. Shot.skip suppresses the capture entirely.

Constructors

Shot(String name, {List<String> tags = const []})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → List<String>
final

Methods

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

Constants

skip → const Shot
Suppresses the automatic screenshot for one call.