TimerRewriteConfig class

Controls timer normalization used by the Flutter test host.

Constructors

TimerRewriteConfig({bool enabled = false, int maxStartAfterSeconds = 1, int maxRepeatIntervalSeconds = 1, int? maxNumberOfTimes, Map<String, int> maxNumberOfTimesByScreen = const {}})
const

Properties

enabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
maxNumberOfTimes → int?
When set, caps YAML maxNumberOfTimes on timers (keeps long poll loops like firmware disconnect waits from running for minutes under tests).
final
maxNumberOfTimesByScreen → Map<String, int>
Optional per-screen cap, keyed by the screen YAML filename without .yaml.
final
maxRepeatIntervalSeconds → int
final
maxStartAfterSeconds → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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