RecordedCall class final
A 1.0-surface call — a storage bind, a query, an indirect or bundled draw, a buffer write, a copy — recorded by name with its arguments.
One variant for the whole 1.0 surface rather than one per call, so that a test switching over Recorded keeps compiling when the contract gains a call, which under 1.0's semver it may in any minor release. A test that cares asks for name and reads arguments, which is whatever value the call was handed (a descriptor, a record of its parameters).
Constructors
- RecordedCall(String name, {Object? arguments})
-
Records the call
namewitharguments.const
Properties
- arguments → Object?
-
What the call was handed: a descriptor, or a record of its parameters;
null for a call that takes none.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The member's name, as the contract spells it.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited