ArgumentEncoder<S, T> typedef

ArgumentEncoder<S, T> = T Function(S source)

Signature for methods that decode structured values from a DataSource, such as the static methods of ArgumentEncoders.

Used to make some of the methods of that class extensible.

Implementation

typedef ArgumentEncoder<S, T> = T Function(S source);