isNumber method

bool isNumber(
  1. String s
)

只有数值不接受double数据类型的

Implementation

bool isNumber(String s) => _matches(RegexConst.number);