Module exposing: Entity, Property, Id, Transient, Index, Unique, Backlink, HnswFlags
// Source: https://github.com/objectbox/objectbox-dart | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import '../objectbox.dart';
/// An annotation to mark a class as an ObjectBox Entity. See [Entity.new].
class Entity {
/// ObjectBox keeps track of entities and properties by assigning them unique
/// identifiers, UIDs, during the code-generation phase. All those UIDs are
/// stored in a file objectbox-model.json in your package and are looked up by
/// name. If the name changes a new uid is assigned, effectively creating a
/// new Entity in the database.
///
/// If you explicitly specify a [uid] on an [Entity], ObjectBox would be able
/// to identify it even aft
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key