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