Login static method

void Login(
  1. String account,
  2. String password
)

登录

Implementation

static void Login(String account, String password) async {
  Log.i(tag, "Login");
  pocChangeNotifier.setAccount(account);
  pocChangeNotifier.setPassword(password);
  SetParam("0.0.0.0", account, password);
  PlatformMethodInvokeHandler.invokeMethod("Login");

  needOnline=true;
}