ProcessFake class final

Answers commands inside Process.fake, and records them.

Constructors

ProcessFake(Map<String, ProcessResultData> _stubs)

Properties

hashCode → int
The hash code for this object.
no setterinherited
recorded → List<List<String>>
Each command run, in order.
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
ran(String pattern) → int
How many recorded commands match pattern, where * is anything.
toString() → String
A string representation of this object.
inherited

Operators

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