canParseToInt static method
Implementation
static bool canParseToInt(dynamic value) {
if (value is int) return true;
try {
int.parse(value);
return true;
} catch (e) {
BasicLogger.errorLog("canParseToInt: $e");
return false;
}
}