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