encodeStringOrNull method
Encodes a nullable string value for the given key or id.
Implementation
@override
void encodeStringOrNull(String key, String? value, {int? id}) {
if (value == null) {
encodeNull(key, id: id);
} else {
encodeString(key, value, id: id);
}
}