toInt property
int?
toInt
"1.0" => null 122.0 => 122
Implementation
int? get toInt {
return this.intValue ?? (string == null ? null : int.tryParse(string!));
}
"1.0" => null 122.0 => 122
int? get toInt {
return this.intValue ?? (string == null ? null : int.tryParse(string!));
}