AttachRecord class

A remembered app↔device↔project attach, persisted locally so attach can relaunch from cold.

Constructors

AttachRecord({required String appKey, String? displayName, String? bundleId, required String deviceId, required String platform, String? deviceName, String? osVersion, String? projectDir, required DateTime firstSeen, required DateTime lastSeen, int attachCount = 1})

Properties

appKey → String
App identity — pubspec package name, else project-dir basename or bundle id.
final
attachCount ↔ int
getter/setter pair
bundleId → String?
final
deviceId → String
iOS UDID or Android serial.
final
deviceName → String?
final
displayName → String?
final
firstSeen → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
Dedup key — one record per (app, device).
no setter
label → String
no setter
lastSeen ↔ DateTime
getter/setter pair
launchable → bool
Relaunchable unattended only when the project dir is known.
no setter
osVersion → String?
final
platform → String
final
projectDir → String?
Flutter project root for relaunch; null when it couldn't be recovered.
final
projectGone → bool
The project folder is known but no longer exists, so glint cannot start the app from it.
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
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<String, Object?> j) → AttachRecord?