stateMessage property

Rx<StateMessage> stateMessage
getter/setter pair

Implementation

Rx<StateMessage> stateMessage = StateMessage(
  event: "register",
  deviceType: Platform.isAndroid ? "Mobile" : "DeskTop",
  state: StateMessageState.online,
  properties: [
    StateMessageProperty(
      property: "targetServer",
      value: "http://10.10.60.19:50001",
      valueType: "String",
    )
  ],
).obs;