Converts the value of type T into the database-compatible type S
value
T
S
@override String? encode(List<String>? value) => value == null ? null : json.encode(value);