addToPath method Null safety

  1. @override
void addToPath(
  1. Path path
)
override

add the given path to the PathElement

Implementation

@override // ignore: missing_function_body
void addToPath(Path path) {
  if (relative) {
    path.relativeMoveTo(moveParams.dx, moveParams.dy);
  } else {
    path.moveTo(moveParams.dx, moveParams.dy);
  }
}