ObjectType enum Annotations

An enum controlling the base type for a RealmModel.

Inheritance

Constructors

ObjectType([String _className = 'Unknown', int _flags = -1])
const

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.

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.

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.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.