getApi<I, O> static method

Api<I, O>? getApi<I, O>(
  1. String name
)

Get Api with the specified name

Implementation

static Api<I,O>? getApi<I, O>(String name){
  Api<dynamic?,dynamic?>? api = apiRegistory[name];
  return api == null ? null : api as Api<I,O>;
}