isInt function

bool isInt(
  1. String str
)

check if the string str is an integer

Implementation

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