LinkParser class
Parses given url to appropriate site by using site matchers.
Constructors
-
LinkParser(List<
Matcher Function()> supportedSites) -
Parses given url to appropriate site by using site matchers.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedSites
→ List<
Matcher Function()> -
Provides a list of all the supported sites by providing respective
website matchers.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String url) → Future< Site> - Tries to parse url to appropriate site.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited