apiDecoder<T> static method
Get a API Decoder
Implementation
static NyApiService apiDecoder<T>() {
final NyApiService? singleton = instance._singletonApiDecoders[T];
if (singleton != null) return singleton;
final NyApiService Function()? factory = instance._apiDecoders[T];
if (factory != null) return factory();
throw Exception("ApiService not found");
}