DVPreviewRecord class final
One preview, as the registry keeps it.
Constructors
-
DVPreviewRecord({required DVPreviewIdentity identity, required DVPreviewState state, required DVPreviewVisibility visibility, required DateTime createdAt, required DateTime lastRequestAt, DateTime? deployedAt, int? pullRequest, String? url, String? linkToken, Set<
DVPreviewResource> remaining = const <DVPreviewResource>{}}) -
const
-
DVPreviewRecord.fromJson(Map<
String, Object?> json) -
factory
Properties
- createdAt → DateTime
-
final
- deployedAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → DVPreviewIdentity
-
final
- lastRequestAt → DateTime
-
final
- linkToken → String?
-
The token of a
visibility: linkpreview. Kept by whoever created the preview so the link can be printed again; never deployed.final - openUrl → String?
-
The URL to hand a reviewer: the link token included where there is one.
no setter
- pullRequest → int?
-
final
-
remaining
→ Set<
DVPreviewResource> -
Resources this preview owns that have not been confirmed gone.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → DVPreviewState
-
final
- url → String?
-
final
- visibility → DVPreviewVisibility
-
final
Methods
-
copyWith(
{DVPreviewState? state, DateTime? deployedAt, DateTime? lastRequestAt, String? url, Set< DVPreviewResource> ? remaining}) → DVPreviewRecord -
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