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