drawPath method
override
Draws the given Path with the given Paint.
Whether this shape is filled or stroked (or both) is controlled by Paint.style. If the path is filled, then sub-paths within it are implicitly closed (see Path.close).
Implementation
@override
void drawPath(Path path, Paint paint) {
invocations.add(
RecordedInvocation(
_MethodCall(#drawPath, <dynamic>[path, Paint.from(paint)]),
stack: StackTrace.current,
),
);
}