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