removeIntOrNull method
Removes the entry for key and returns its integer representation, or null if key is missing or null.
Implementation
int? removeIntOrNull(dynamic key) {
final int? result = asIntOrNull(key);
remove(key);
return result;
}