ObjectType enum Annotations
An enum controlling the base type for a RealmModel.
Values
- realmObject → const ObjectType
-
A standalone top-level object that can be persisted in Realm. It can link to other objects or collections of other objects.
const ObjectType('RealmObject', 0)
- embeddedObject → const ObjectType
-
An object that can be embedded in other objects. It is considered owned by its parent and will be deleted if its parent is deleted.
const ObjectType('EmbeddedObject', 1)
- asymmetricObject → const ObjectType
-
A special type of object used to facilitate unidirectional synchronization with Atlas App Services. It is used to push data to Realm without the ability to query or modify it.
const ObjectType('AsymmetricObject', 2)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ObjectType> - A constant List of the values in this enum, in order of their declaration.