FieldDescriptor<T, V> class abstract

A descriptor for a single field on a typed model T.

This interface carries no validation logic; it only describes how to identify and extract a field value.

Implementers

Constructors

FieldDescriptor()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The field name as it appears in the model (e.g. "email").
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extract(T owner) → V?
Extract the field value from a concrete model instance.
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