Field<T extends Object, V> constructor
const
Field<T extends Object, V> (})
Implementation
const Field(
this.name,
this.getter, {
String? key,
this.mode = FieldMode.field,
this.arg,
this.opt = false,
this.def,
this.hook,
this.data,
}) : key = key ?? name;