DVHostEntry class final
One dartvel.hosts entry.
pattern is a hostname (docs.example.com) or a single leftmost-label
wildcard (*.apps.example.com). mount is where in the route tree the
host's / is, / for the primary host; in a wildcard entry {label}
stands for the label the host matched, as a whole path segment. siteUrl
is the host's public origin and may use {label} the same way.
Constructors
Properties
- description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPrimary → bool
-
The primary host is the one whose mount is the root.
no setter
- isWildcard → bool
-
Whether pattern is
*.<suffix>.no setter - mount → String
-
final
- name → String?
-
final
- pattern → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siteUrl → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< Object?, Object?> json) → DVHostEntry