switchNetwork property

(Future<void> Function(String network, {int accountType, PageRouteParams? pageRoute})?) switchNetwork
getter/setter pair

The App will set this function for plugins switch between each other accountType(0:Substrate,1:evm)

Implementation

Future<void> Function(String network,
    {PageRouteParams? pageRoute, int accountType})? switchNetwork;