encodeObjectOrNull<T> abstract method
Encodes a nullable object of type T
for the given key or id.
When the value is not null, this behaves the same as encodeObject.
Implementation
void encodeObjectOrNull<T>(String key, T? value, {int? id, Encodable<T>? using});