schema property

RealmSchema schema

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.

Implementation

RealmSchema get schema => _realm.schema;