loginAuth method

Future<Map> loginAuth(
  1. bool autoDismiss, {
  2. int timeout = 10000,
})

Implementation

Future<Map<dynamic, dynamic>> loginAuth(bool autoDismiss,
    {int timeout = 10000}) async {
  print("$flutter_log" + "loginAuth");

  String method = "loginAuth";
  var repeatError = isRepeatRequest(method: method);
  if (repeatError == null) {
    var map = {"autoDismiss": autoDismiss, "timeout": timeout};
    var result = await _channel.invokeMethod(method, map);
    requestQueue.remove(method);
    return result;
  } else {
    return repeatError;
  }
}