type_translator library

Classes

TypeTranslator<T, R>
TypeTranslators

Functions

registerPrimitiveTranslatorT<T, R>(TypeTranslator<T, R> translator) → void
translate(dynamic input, Type outputType) → dynamic
translateBool(dynamic input) bool
translateDouble(dynamic input) double
translateInt(dynamic input) int
translateString(dynamic input) String
translateT<R>(dynamic input) → R
translateToken(dynamic input, TypeToken outputType) → dynamic
unregisterPrimitiveTranslator<T, R>() → void
unregisterPrimitiveTranslatorByType(Type inputType, Type outputType) → void