realm property

Realm get realm

The Realm instance this object belongs to.

Implementation

Realm get realm => _realm ?? (throw RealmStateError('$this not managed'));