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.
read-onlyinherited
indexed bool
true if the property is indexed
read-only
indexType RealmIndexType?
Returns the index type for this property
final
isComputed bool
true if the property is computed
read-only
linkOriginProperty String?
final
linkTarget String?
final
mapTo String
Indicates that the property should be persisted under a different name
read-only
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.
read-onlyinherited

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