ObjectTransformer<E, T> typedef

ObjectTransformer<E, T> = T Function(E encodedObject)

A function that creates an object of the type T starting from one of the type E.

This is used by DecodedValue and E typically represents a JSON-encodable type.

Implementation

typedef ObjectTransformer<E, T> = T Function(E encodedObject);