Converter<T> typedef

Converter<T> = ({T Function(RawData data) fromDb, RawData Function(T data) toDb})

Implementation

typedef Converter<T> = ({
  T Function(RawData data) fromDb,
  RawData Function(T data) toDb,
});