loginAuthSyncApi method

void loginAuthSyncApi({
  1. @required bool autoDismiss = false,
  2. int timeout = 10000,
})

Implementation

void loginAuthSyncApi(
    {@required bool autoDismiss = false, int timeout = 10000}) {
  print("$flutter_log" + "loginAuthSyncApi");

  String method = "loginAuthSyncApi";
  var repeatError = isRepeatRequest(method: method);
  if (repeatError == null) {
    var map = {"autoDismiss": autoDismiss, "timeout": timeout};
    _channel.invokeMethod(method, map);
    requestQueue.remove(method);
  } else {
    print("$flutter_log" + repeatError.toString());
  }
}