Encodes a nullable integer value for the given key or id.
void encodeIntOrNull(String key, int? value, {int? id});