preFetchNumber method

Future<Map?> preFetchNumber()

Implementation

Future<Map<dynamic, dynamic>?> /*!*/ preFetchNumber() async {
  // var para = new Map();
  // if (timeOut != null) {
  //   if (timeOut >= 3000 && timeOut <= 10000) {
  //     para["timeOut"] = timeOut;
  //   }
  // }
  print("$flutter_log" + "preFetchNumber" + "");

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