isTime static method

bool isTime(
  1. String value
)

Implementation

static bool isTime(String value) {
  return (value == _zeroSeconds || value == _zeroMilliseconds || _timeRegExp.firstMatch(value) != null);
}