router property
Access to the network router.
Implementation
RouterInterface? get router {
if (_container.isRegistered(NetworkHandler)) {
return _container.get<NetworkHandler>().router;
}
return null;
}
Access to the network router.
RouterInterface? get router {
if (_container.isRegistered(NetworkHandler)) {
return _container.get<NetworkHandler>().router;
}
return null;
}