isInt property

bool get isInt

Implementation

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