dispenseNavigatorFromParticipator method

  1. @override
DynamicRoutesNavigator dispenseNavigatorFromParticipator(
  1. Widget participator
)
inherited

Implementation

@override
DynamicRoutesNavigator dispenseNavigatorFromParticipator(
    Widget participator) {
  final queriedInstance = _dynamicRoutesInstances[participator.hashCode];
  assert(queriedInstance != null,
      "The widget provided is not tied to any _dynamicRoutesInstances.");

  return queriedInstance!;
}