parseBool static method

bool? parseBool(
  1. String xPath
)

Implementation

static bool? parseBool(String xPath) =>
    Bundles.strings
        .xpath(xPath)
        .first
        .innerText
        .toLowerCase()
        .replaceAll(RegExp(r"\s+"), "") ==
    "true";