StaticOptional class

Inheritance

Constructors

StaticOptional({String? strVal, Map<String, Object>? mapVal})

Properties

append String?
Append string to result.
getter/setter pairinherited
apply ApplyMethod?
Apply different functions to result.
getter/setter pairinherited
cacheResponse bool
Cache response?
getter/setter pairinherited
cropEnd int?
Crop result from end.
getter/setter pairinherited
cropStart int?
Crop result from start.
getter/setter pairinherited
end String?
End of a string.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, Object>?
Add Custom Headers.
getter/setter pairinherited
keys String?
  • ParserType.json. JSON Table keys path.
  • getter/setter pairinherited
    mapVal Map<String, Object>?
    getter/setter pairinherited
    match List<Object>?
    Checks if result has match in predefined list.
    getter/setter pairinherited
    method HttpMethod?
    HttpMethod as GET/POST.
    getter/setter pairinherited
    nth int?
    Select nth result from list.
    getter/setter pairinherited
    payLoad Object?
    For POST requests you can add custom payLoad.
    getter/setter pairinherited
    payloadType HttpPayload?
    payLoad can be String or JSON.
    getter/setter pairinherited
    prepend String?
    Prepend string to result.
    getter/setter pairinherited
    regex String?
    Regex pattern.
    getter/setter pairinherited
    regexGroup int?
    Match to group.
    getter/setter pairinherited
    regexReplace String?
    Regex Replace pattern.
    getter/setter pairinherited
    regexReplaceWith String?
    Replace with selected pattern.
    getter/setter pairinherited
    replaceAll Map<String, String>?
    Map to find keys and replace all of them with values.
    getter/setter pairinherited
    replaceFirst Map<String, String>?
    Map to find keys and replace them with values.
    getter/setter pairinherited
    responseType HttpResponseType?
    responseType defines what to do once we grab data from URL. if HttpResponseType.html then result will be converted to element. if HttpResponseType.json then result will be decoded from JSON.
    getter/setter pairinherited
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    siblingDirection SiblingDirection?
    Sibling direction previous or next
    getter/setter pairinherited
    splitBy String?
    Select nth result from list.
    getter/setter pairinherited
    start String?
  • ParserType.strBetween. Start of a string.
  • getter/setter pairinherited
    strVal String?
  • ParserType.staticVal.
  • getter/setter pairinherited
    url String?
    Based on ParserType.
    getter/setter pairinherited
    usePassedProxy bool
    Use passed proxy.
    getter/setter pairinherited
    userAgent UserAgentDevice?
    Custom User Agent.
    getter/setter pairinherited
    values String?
    JSON Table values path.
    getter/setter pairinherited
    where List<String>?
  • ParserType.sibling. If where is passed, value of selector is matched, result is sibling of an element where match was found.
  • getter/setter pairinherited

    Methods

    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited