Schema class abstract

Schema This class must be extended when defining a schema for SchemaDB

Constructors

Schema({String? id})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
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
toMap() Map
convert Schema to serializable dynamic map (used internally)
toMapWithId() Map
convert Schema with id to serializable dynamic map (used internally)
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
used for retrieving the _id field (internally)
operator []=(String key, String val) → void
used for setting the _id field (internally)