RecordedInvocation class

An Invocation and the stack trace that led to it.

Used by TestRecordingCanvas to trace canvas calls.

Constructors

RecordedInvocation(Invocation invocation, {required StackTrace stack})
Create a record for an invocation list.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
invocation Invocation
The method that was called and its arguments.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack StackTrace
The stack trace at the time of the method call.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stackToString({String indent = ''}) String
Converts stack to a string using the FlutterError.defaultStackFilter logic.
toString() String
A string representation of this object.
override

Operators

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