getNetwork method

Future<Network> getNetwork()

Returns the Network that this is connected to.

Implementation

Future<Network> getNetwork() async =>
    Network._(await call<_NetworkImpl>('getNetwork'));