DatumFieldSpec<E, V> constructor

DatumFieldSpec<E, V>(
  1. String name, {
  2. DatumFieldGetter<E, V>? getter,
  3. DatumFieldCodec<V>? codec,
  4. String? sqlType,
  5. V? defaultValue,
  6. String? renamedFrom,
  7. DatumCoreRole? coreRole,
})

Implementation

DatumFieldSpec(
  super.name, {
  this.getter,
  DatumFieldCodec<V>? codec,
  this.sqlType,
  this.defaultValue,
  this.renamedFrom,
  this.coreRole,
}) : codec = codec ?? DatumFieldCodec.infer<V>();