isInt property

bool isInt

Check if string is an integer

Implementation

bool get isInt => int.tryParse(this) != null;