SchemaProperty class Configuration

Describes a property on RealmObjectBase with its name, type and other attributes in the RealmSchema

Properties

collectionType RealmCollectionType
Defines the Realm collection type if this property is a collection
final
hashCode int
The hash code for this object.
no setterinherited
indexType RealmIndexType?
Returns the index type for this property
final
isComputed bool
true if the property is computed
no setter
linkOriginProperty String?
final
linkTarget String?
final
mapTo String
Indicates that the property should be persisted under a different name
no setter
name String
The name of the property as persisted in the Realm
final
optional bool
true if the property is optional
final
primaryKey bool
true if the property is a primary key
final
propertyType RealmPropertyType
The Realm type of the property
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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