toNullableInteger static method
Converts value into integer or returns null when conversion is not possible.
value
the value to convert. Returns integer value or null when conversion is not supported.
Implementation
static int? toNullableInteger(value) {
return LongConverter.toNullableLong(value);
}