SchemaProperty class Null safety Configuration

Describes a RealmObject's property 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-only, inherited
linkTarget String?
final
mapTo String?
An alias to another property of the same RealmObject
final
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-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited