ModelServerCommandBase class
Define commands to work with the server.
Basically, do not use it directly, but inherit it and define command
to use it.
サーバーと連携するためのコマンドを定義します。
基本的には直接利用せず継承してcommand
を定義して利用してください。
- Inheritance
-
- Object
- ModelFieldValue<
String> - ModelServerCommandBase
- Implemented types
- Annotations
Constructors
- ModelServerCommandBase(String command, {DynamicMap publicParameters = const {}, DynamicMap privateParameters = const {}})
-
Define commands to work with the server.
const
- ModelServerCommandBase.fromJson(DynamicMap json)
-
Convert from
json
map to ModelServerCommandBase.factory - ModelServerCommandBase.fromServer(String command, {DynamicMap publicParameters, DynamicMap privateParameters})
-
Used to disguise the retrieval of data from the server.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- privateParameters → DynamicMap
-
Private parameters for the command.
no setter
- publicParameters → DynamicMap
-
Public parameters for the command.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Actual value.
no setteroverride
Methods
-
compareTo(
ModelServerCommandBase other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → DynamicMap -
Methods for Json serialization.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- kCommandKey → const String
- Command key.
- kPrivateParametersKey → const String
- Non-public parameter key.
- kPublicParametersKey → const String
- Key for public parameters.
- kSourceKey → const String
- Key to store the data source.
- typeString → const String
- Type key.