registerWithType static method

void registerWithType(
  1. Type type,
  2. dynamic instance()
)

Implementation

static void registerWithType(Type type, dynamic Function() instance) =>
    ServiceLocator.registerWithType(type, instance);