DVDeployTarget enum

A place Studio deploys a page to, named as a site owner would name it.

A page deployed with no targets reaches every one. Each app works out which target it is from the platform it runs on, and serves a stored page only when the page was deployed there; otherwise its compiled page stays.

Inheritance
Available extensions

Values

web → const DVDeployTarget
const DVDeployTarget('Website')
phones → const DVDeployTarget
const DVDeployTarget('Phones and tablets')
desktop → const DVDeployTarget
const DVDeployTarget('Desktop apps')
tvs → const DVDeployTarget
const DVDeployTarget('TVs')
extensions → const DVDeployTarget
const DVDeployTarget('Browser extensions')
devices → const DVDeployTarget
const DVDeployTarget('Devices')
headsets → const DVDeployTarget
const DVDeployTarget('Headsets')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
label → String
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

current → DVDeployTarget
The target this app is.
no setter
debugCurrent ↔ DVDeployTarget?
Set by a test to stand in for the platform it runs on.
getter/setter pair

Static Methods

of({required String platform, bool isTV = false, bool isExtension = false}) → DVDeployTarget
Which target an app on platform is.

Constants

values → const List<DVDeployTarget>
A constant List of the values in this enum, in order of their declaration.