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