PreviewView class

Constructors

PreviewView({String? app, String? branch, DeploymentView? deployment, String? url})
Returns a new PreviewView instance.

Properties

app ↔ String?
App is the preview application's own slug, <app>-<branch>.
getter/setter pair
branch ↔ String?
Branch is the branch this preview maps.
getter/setter pair
deployment ↔ DeploymentView?
Deployment is the deployment the preview recorded.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url ↔ String?
URL is the preview's live HTTPS address.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → PreviewView?
Returns a new PreviewView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PreviewView>
mapFromJson(dynamic json) → Map<String, PreviewView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PreviewView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.