ServerWelcome class
ServerWelcome: the desktop's answer to the SDK's hello.
Constructors
Properties
- appId → String
-
The app session id the desktop gave this connection (e.g.
app:3).final - config → SdkConfig
-
Settings that apply from now on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mocks
→ List<
MockRule> -
The mock rules in force, first match wins.
final
- protocol → int
-
The desktop's protocol version.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String
-
The desktop's name and version, e.g.
durbun/0.2.0.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< Object?, Object?> json) → ServerWelcome -
Reads a
welcomemessage; missing fields get safe defaults.