FieldCodec<T> constructor

const FieldCodec<T>({
  1. required String toParam(
    1. T value
    ),
  2. required T? toValue(
    1. String? param
    ),
})

Implementation

const FieldCodec({
  required this.toParam,
  required this.toValue,
});