VectorImagePathDefinition constructor Null safety

VectorImagePathDefinition(
  1. {required String path,
  2. DrawingParameters? drawingParameters}
)

path (string) REQUIRED : path definition ('d' attribute) drawingParameters (DrawingParameters) : drawing parameters for this Circle

Implementation

VectorImagePathDefinition({
  required String path,
  DrawingParameters? drawingParameters,
})  : pathElements = parsePath(path),
      super(drawingParameters);