UserSchema class

The schema of the conformance users table.

Uses only core column registrations, so it works over any driver's delegate. The suite creates the backing table itself through the harness's DDL generator.

Constructors

UserSchema(SchemaBuilder<User> $)
Creates the schema.

Properties

$ → Table<Schema<User>, User>
The Table backing this schema reference.
finalinherited
age → ColumnType<int>
The age column.
final
favoriteGame → ColumnType<String>
The favoriteGame column.
final
hashCode int
The hash code for this object.
no setterinherited
id → ColumnType<int?>
The id column.
final
name → ColumnType<String>
The name column.
final
nickname → ColumnType<String?>
The nickname column.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromRow(RowReader read) User
Construct a row instance from a typed read function.
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