isValid static method

bool isValid(
  1. String value
)

Implementation

static bool isValid(String value) => tryParse(value) != null;