parseInt static method
Implementation
static int? parseInt(source) {
if (source == null) {
return null;
}
if (source is int) {
return source;
}
return int.tryParse(source);
}
static int? parseInt(source) {
if (source == null) {
return null;
}
if (source is int) {
return source;
}
return int.tryParse(source);
}