encodeValue method

  1. @override
Object? encodeValue(
  1. ModelDB db,
  2. Object? value, {
  3. bool forComparison = false,
})
override

Implementation

@override
Object? encodeValue(ModelDB db, Object? value, {bool forComparison = false}) {
  if (value == null) return null;
  return ds.BlobValue(value as List<int>);
}