tryParse static method
A point parsed from text
with coordinates in order: x, y, m.
If parser
is null, then WKT text
like "10.0 20.0 5" is expected.
Returns null if cannot parse.
Implementation
static Point2m? tryParse(String text, {ParseCoords? parser}) {
try {
return Point2m.parse(text, parser: parser);
} on Exception {
return null;
}
}