Parser constructor

Parser(
  1. dynamic source
)

Creates a new Parser object.

source should not be null.

Implementation

Parser(source)
    : _scanner = Scanner(source),
      path = Path(),
      _initialPoint = Offset.zero,
      _currentPoint = Offset.zero,
      _lastCommandArgs = [],
      _lastCommandControlPoints = [];