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

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

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