Decodes the data for the given key or id as a nullable integer value.
int? decodeIntOrNull(String key, {int? id});