isInt method
check value is integer or not and return true or false
Implementation
bool isInt() => isEmptyOrNull ? false : int.tryParse(this!) != null;
check value is integer or not and return true or false
bool isInt() => isEmptyOrNull ? false : int.tryParse(this!) != null;