Registry class

Holds entity information fox Box implementations. Every Box implementation requires a registry.

Constructors

Registry()

Properties

entries Map<Type, EntitySupport>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFieldValue(String fieldName, dynamic entity) → dynamic
Returns the value of the field with the specified fieldName from the specified entity.
lookup<T>([Type? type]) EntitySupport<T>
Lookup the EntitySupport for a type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T>(EntitySupport<T> support) EntitySupport<T>
Register the generated EntitySupport for entity to use with Box.
toString() String
A string representation of this object.
inherited

Operators

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