tryParse static method

VersionBoundaries? tryParse(
  1. String text
)

Compat

Implementation

static VersionBoundaries? tryParse(String text) {
  try {
    return parse(text);
  } catch (_) {
    return null;
  }
}