drawImage method
override
Draws the given Image into the canvas with its top-left corner at the given Offset. The image is composited into the canvas using the given Paint.
Implementation
@override
void drawImage(Image image, Offset offset, Paint paint) {
invocations.add(
RecordedInvocation(
_MethodCall(#drawImage, <dynamic>[image, offset, Paint.from(paint)]),
stack: StackTrace.current,
),
);
}