decode method
Implementation
@override
List<double>? decode(value) {
return switch (value) {
List<double?>() => value.nonNulls.toList(),
double() => [value],
null => null,
_ => throw TypeDecodeException.typeMismatch(
List<double>,
value.runtimeType,
),
};
}