isInteger property

bool get isInteger

Implementation

bool get isInteger => RegExp(r'^\d+$').allMatches('$this').isNotEmpty;