hasDecoder<T> static method

bool hasDecoder<T>()

Returns true if a decoder function for type T is registered.

Implementation

static bool hasDecoder<T>() => _decoders.containsKey(T) ? true : false;