getConnectionState method

Future<ConnectionStateType> getConnectionState ()

获取网络连接状态。

Implementation

@override
Future<ConnectionStateType> getConnectionState() {
  return _invokeMethod('getConnectionState').then((value) {
    return ConnectionStateTypeConverter.fromValue(value).e;
  });
}