DVStudioTarget class
A path under mount, resolved: the screen it names and the object in it.
<mount> and <mount>/pages are the same screen with no object, so the
first address a person is given is not a special case. An object is every
segment after the screen's own, which is what lets a page be addressed by
the route it answers -- /__studio/pages/products/:slug -- without a
second scheme for paths.
Constructors
-
DVStudioTarget({required DVStudioScreenSpec screen, List<
String> object = const <String>[]}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
object
→ List<
String> -
The segments naming what is open inside screen, empty for the screen
itself.
final
- objectName → String
-
What was asked for, as one name: a model, a route, a function.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → DVStudioScreenSpec
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
path(
String mount) → String -
The URL this target is at, under
mount. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited