toSVG method
Export the current content to a SVG graphic.
Will return null
if there are no points.
Implementation
svg.SvgPicture? toSVG({int? width, int? height}) =>
isEmpty ? null : svg.SvgPicture.string(toRawSVG(width: width, height: height)!);