ServerStorage class abstract
Host-injected storage interface (MOD-STOR-001, FR-STOR-001~006).
The core does not ship a default implementation — the host application provides one backed by SharedPreferences, SQLite, Firestore, etc.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteServer(
String id) → Future< void> - FR-STOR-003 — idempotent; missing id is a no-op.
-
getById(
String id) → Future< ServerConfig?> - Convenience single-record lookup.
-
getServers(
) → Future< List< ServerConfig> > - FR-STOR-001
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveServer(
ServerConfig server) → Future< void> - FR-STOR-002 — insert if missing, update if present.
-
toggleFavorite(
String id) → Future< void> - FR-STOR-005 — no-op when id is unknown.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateLastConnected(
String id, DateTime at) → Future< void> - FR-STOR-004 — no-op when id is unknown.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited