isTime static method

bool isTime(
  1. String value
)

Implementation

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