MigrationRealm class Realm

A class used during a migration callback. It exposes a set of dynamic API as well as the Realm config and schema.

Inheritance

Properties

config Configuration
The Configuration object used to open this Realm
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
schema RealmSchema
The schema of this Realm. If the Configuration was created with a non-empty list of schemas, this will match the collection. Otherwise, the schema will be read from the file.
read-only

Methods

all(String className) RealmResults<RealmObject>
Returns all RealmObjects of type className in the Realm
inherited
find(String className, Object primaryKey) → RealmObject?
Fast lookup for a RealmObject of type className with the specified primaryKey.
inherited
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