delegate<TDelegate extends RouterDelegate<TPage> , TPage> method
TDelegate?
delegate<TDelegate extends RouterDelegate<TPage> , TPage>()
Casts the stored router delegate to a desired type
Implementation
TDelegate? delegate<TDelegate extends RouterDelegate<TPage>, TPage>() =>
routerDelegate as TDelegate?;