apiDecoders static method

Map<Type, NyApiService> apiDecoders()

Get api decoders

Implementation

static Map<Type, NyApiService> apiDecoders() {
  Map<Type, NyApiService> apiDecoders = {};
  for (var e in instance._apiDecoders.entries) {
    apiDecoders.addAll({e.key: e.value()});
  }
  apiDecoders.addAll(instance._singletonApiDecoders);
  return apiDecoders;
}