apiDecoder<T> static method
Get a API Decoder
Implementation
static NyApiService apiDecoder<T>() {
Map<Type, NyApiService> decoders = apiDecoders();
if (decoders.containsKey(T)) {
return decoders[T]!;
}
throw Exception("ApiService not found");
}