router property
FRouter
get
router
Implementation
static FRouter get router =>
_router ??
(throw Exception(
"No router set. You must set it using SunnyRouting.router = myrouter"));
set
router
(FRouter router)
Implementation
static set router(FRouter router) {
_router = router;
}