AlterProperty class

Alter the schema of a specific property in a collection. Only changing the "nullable" or "unique" fields is allowed

Implemented types

Constructors

AlterProperty({required CollectionSchema oldCollection, required PropertySchema property})
Important! oldCollection MUST reflect the state of the collection before the alter operation has executed!
const

Properties

hashCode int
The hash code for this object.
no setterinherited
oldCollection CollectionSchema
The schema for the collection containing the property being altered. Important! It MUST reflect the state of the collection before the alter operation has executed!
final
property PropertySchema
The altered property definition
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.
override

Operators

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