postLoggedInPageSoup function

Future<BeautifulSoup?> postLoggedInPageSoup(
  1. String url,
  2. String target,
  3. Map<String, String> otherAspData
)

Implementation

Future<BeautifulSoup?> postLoggedInPageSoup(
    String url, String target, Map<String, String> otherAspData) async {
  var getResponse = await loggedIn(url);
  if (getResponse != null) {
    var aspData = extractASPData(getResponse, target);
    aspData.addAll(otherAspData);
    return await loggedIn(url, data: aspData);
  } else {
    return null;
  }
}