This function is used for input conversion and output conversion of a field.
typedef FieldConverter<I,O> = O? Function(DataSet? ds, Record rec, I? input);