Point3m.parse constructor
Point3m.parse(
- String text, {
- ParseCoords? parser,
A point parsed from text
with coordinates in order: x, y, z, m.
If parser
is null, then WKT text
like "10.0 20.0 30.0 5" is expected.
Throws FormatException if cannot parse.
Implementation
factory Point3m.parse(String text, {ParseCoords? parser}) => parser != null
? Point3m.from(parser.call(text))
: parseWktPoint<Point3m>(text, Point3m.coordinates);