isInt function

bool isInt(
  1. String str
)

Returns true if str represents an integer.

Implementation

bool isInt(String str) => intReg.hasMatch(str);