RealmObject mixin Null safety 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

Properties

isValid bool
Gets a value indicating whether this object is managed and represents a row in the database.
read-only
changes Stream
Allows listening for property changes on this Realm object
read-only
realm Realm
The Realm instance this object belongs to.
read-only, inherited
isManaged bool
True if the object belongs to a realm.
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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