reportDependencyLinkedToRoute static method

void reportDependencyLinkedToRoute(
  1. String depedencyKey
)

Links a Class instance S (or tag) to the current route. Requires usage of GetMaterialApp.

Implementation

static void reportDependencyLinkedToRoute(String depedencyKey) {
  _routesKey.putIfAbsent(depedencyKey, () => _current);
}