isInteger method

bool isInteger()

Implementation

bool isInteger() => int.tryParse(this ?? '') != null;