RealmObjectBase mixin Realm

An object that is persisted in Realm.

RealmObjects are generated from Realm data model classes marked with @RealmModel annotation and named with an underscore.

A data model class _MyClass will have a RealmObject generated with name MyClass.

RealmObject should not be used directly as it is part of the generated class hierarchy. ex: MyClass extends _MyClass with RealmObject.

Superclass Constraints
Implemented types

Properties

dynamic DynamicRealmObject
An object exposing dynamic API for this RealmObject instance.
latefinal
isValid bool
Gets a value indicating whether this object is managed and represents a row in the database.
read-only
changes Stream<RealmObjectChanges<RealmObjectBase>>
Allows listening for property changes on this Realm object
read-only
realm Realm
The Realm instance this object belongs to.
read-onlyinherited
isManaged bool
True if the object belongs to a Realm.
read-onlyinherited
isFrozen bool
True if the entity belongs to a frozen Realm.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

freeze() RealmObjectBase
Creates a frozen snapshot of this RealmObject.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override