tryParse static method

FlexiDate? tryParse(
  1. String input
)

Implementation

static FlexiDate? tryParse(String input) {
  try {
    return instance.parse(input);
  } catch (e) {
    _log.finer("Date parse error: $e");
    return null;
  }
}