LinkView class

Constructors

LinkView({String? account, String? billing, String? createdAt, String? host, String? id, String? kind, String? lastSeen, String? machine, String? os, String? plan, String? provider, String? status, String? updatedAt, Object? usage, String? user})
Returns a new LinkView instance.

Properties

account ↔ String?
Account is the provider-side account identifier, when the collector knows it.
getter/setter pair
billing ↔ String?
Billing is how this account's inference bills — plan (the user's own subscription, metered here for visibility only) or commerce (the gateway path). Derived from Kind, never stored.
getter/setter pair
createdAt ↔ String?
CreatedAt is when the link was first registered, RFC 3339 UTC.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
host ↔ String?
Host is the machine's human hostname label, from its most recent report.
getter/setter pair
id ↔ String?
ID is the link's opaque handle ("link_" + 32 hex chars).
getter/setter pair
kind ↔ String?
Kind is how the account authenticates: subscription or apikey.
getter/setter pair
lastSeen ↔ String?
LastSeen is when the account last reported, RFC 3339 UTC.
getter/setter pair
machine ↔ String?
Machine is the stable machine identifier the collector reports.
getter/setter pair
os ↔ String?
OS is the machine's operating system label.
getter/setter pair
plan ↔ String?
Plan is the provider plan label (e.g. "Claude Max").
getter/setter pair
provider ↔ String?
Provider is the AI provider this account belongs to (claude, openai, hanzo…).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is linked or revoked. Revoked rows are retained for history.
getter/setter pair
updatedAt ↔ String?
UpdatedAt is when the link was last refreshed, RFC 3339 UTC.
getter/setter pair
usage ↔ Object?
getter/setter pair
user ↔ String?
User is the owning subject — the validated caller who registered the link.
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) → LinkView?
Returns a new LinkView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LinkView>
mapFromJson(dynamic json) → Map<String, LinkView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LinkView>>

Constants

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