DatumFieldSpec<E, V> constructor
DatumFieldSpec<E, V> (
- String name, {
- DatumFieldGetter<
E, V> ? getter, - DatumFieldCodec<
V> ? codec, - String? sqlType,
- V? defaultValue,
- String? renamedFrom,
- DatumCoreRole? coreRole,
Implementation
DatumFieldSpec(
super.name, {
this.getter,
DatumFieldCodec<V>? codec,
this.sqlType,
this.defaultValue,
this.renamedFrom,
this.coreRole,
}) : codec = codec ?? DatumFieldCodec.infer<V>();