AppConfig class

Implemented types

Constructors

AppConfig({int maxClients = 0, bool disableUdp = false, bool cellAdmitsOnlyAppInstances = false})
AppConfig.fromJson(Map<String, dynamic> json)
factory
AppConfig.fromReader(TeleportObjectReader reader)
factory
AppConfig.fromTeleport(Uint8List data)
factory

Properties

cellAdmitsOnlyAppInstances ↔ bool
Set by a cell-host whose cell admits only the app's own instances: the server then refuses an outside client the backend has not marked as the app's server. False from an app built before it existed.
getter/setter pair
disableUdp ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
maxClients ↔ int
A client limit set in code: by an app built while IApp.MaxClients had a setter, or by the platform's own validation and load-test apps. 0 leaves it to the app's ikon-config.toml and the container's memory.
getter/setter pair
retiredFields ↔ AppConfigRetiredFields?
Retired ledger values captured on read: keys the schema no longer names, kept so code upgrading from an older peer can still reach them. Null when the source carried none.
getter/setter pair
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, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

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