realm_common library

Classes

Indicates that the field it decorates is the inverse end of a relationship.
GeneratorConfig Annotations
Class used to define the desired constructor behavior for a RealmModel.
GeoBox
A box on the earth's surface.
GeoCircle
A circle on the earth's surface.
GeoDistance
An equatorial distance on earth's surface.
GeoPoint
A point on the earth's surface.
GeoPolygon
A polygon on the earth's surface.
GeoShape
A base type for the supported geospatial shapes.
Ignored Annotations
Indicates an ignored property.
Indexed Annotations
Indicates an indexed property.
MapTo Annotations
MapTo annotation for class level and class member level.
ObjectId
ObjectId
PrimaryKey Annotations
Indicates a primary key property.
RealmModel Annotations
Annotation class used to define Realm data model classes and their properties
RealmValue
A type that can represent any valid realm data type, except embedded objects.
Uuid
Represents a RFC 4122 UUID. More generally, any 128-bit byte sequence can be represented by this class, but the semantics for the fields described in the may not apply for other variants.

Enums

CtorStyle
An enum controlling the constructor type generated for a RealmModel.
ObjectType Annotations
An enum controlling the base type for a RealmModel.
RealmCollectionType Configuration
All supported Realm collection types.
RealmIndexType
Describes the indexing mode for properties annotated with the @Indexed annotation.
RealmPropertyType Configuration
All supported Realm property types.
RealmValueType
An enum describing the possible types that can be wrapped inside RealmValue

Functions

memEquals(Uint8List x, Uint8List y) bool
Compares two Uint8Lists by comparing 8 bytes at a time.

Typedefs

GeoRing = List<GeoPoint>

Exceptions / Errors

RealmClosedError Realm
An error throw when operating on an object that has been closed.
RealmError Realm
A base class of all Realm errors.
RealmStateError
Thrown if the Realm operation is not allowed by the current state of the object.
RealmUnsupportedSetError Realm
Thrown if the operation is not supported.