box library Null safety

Classes

AndPredicate<T>
Box
A Box represents a storage, be it a file, a database or simply in-memory storage.
Composite
DeleteStep<T>
Entity
Metadata that indicates a class is an entity.
EntitySupport<T>
Base class that holds information about an entity.
ExpectationStep<T>
Field
FileBox
Index
IndexField
JoinStep<T>
Key
Metadata that indicates a field is a primary key.
MemoryBox
NotPredicate<T>
OrderByStep<T>
OrPredicate<T>
Predicate<T>
QueryStep<T>
Registry
Holds entity information fox Box implementations. Every Box implementation requires a registry.
SelectStep
WhereStep<T, S>

Extensions

FirstOrNull
WhereNotNull

Constants

entity → const Entity
Entity()
index → const Index
Index()
key → const Key
Key()

Functions

$(String name, {String? alias}) Field

Enums

Direction

Typedefs

FieldAccessor<T> = dynamic Function(T entity)
Mapper<T> = T? Function(dynamic input)
A mapping function that maps records to the specified type.