decodePrimitiveValue method

  1. @override
Object? decodePrimitiveValue(
  1. ModelDB db,
  2. Object? value
)
override

Implementation

@override
Object? decodePrimitiveValue(ModelDB db, Object? value) {
  if (value == null) return null;
  return db.fromDatastoreKey(value as ds.Key);
}