ConnectToken constructor

ConnectToken({
  1. String serverSessionId = '',
  2. ContextType contextType = ContextType.unknown,
  3. UserType userType = UserType.unknown,
  4. PayloadType payloadType = PayloadType.unknown,
  5. bool isInternal = false,
  6. String description = '',
  7. String userId = '',
  8. String deviceId = '',
  9. String productId = '',
  10. String versionId = '',
  11. String installId = '',
  12. String locale = '',
  13. Opcode opcodeGroupsFromServer = Opcode.NONE,
  14. Opcode opcodeGroupsToServer = Opcode.NONE,
  15. int protocolVersion = 0,
  16. bool hasInput = false,
  17. String channelLocale = '',
  18. String embeddedSpaceId = '',
  19. String authSessionId = '',
  20. bool receiveAllMessages = false,
  21. String userAgent = '',
  22. ClientType clientType = ClientType.unknown,
  23. Map<String, String> parameters = const {},
  24. SdkType sdkType = SdkType.unknown,
  25. int viewportWidth = 0,
  26. int viewportHeight = 0,
  27. String theme = '',
  28. String timezone = '',
  29. bool isTouchDevice = false,
  30. String initialPath = '',
  31. StyleFormat styleFormat = StyleFormat.css,
})

Implementation

ConnectToken({
    this.serverSessionId = '',
    this.contextType = ContextType.unknown,
    this.userType = UserType.unknown,
    this.payloadType = PayloadType.unknown,
    this.isInternal = false,
    this.description = '',
    this.userId = '',
    this.deviceId = '',
    this.productId = '',
    this.versionId = '',
    this.installId = '',
    this.locale = '',
    this.opcodeGroupsFromServer = Opcode.NONE,
    this.opcodeGroupsToServer = Opcode.NONE,
    this.protocolVersion = 0,
    this.hasInput = false,
    this.channelLocale = '',
    this.embeddedSpaceId = '',
    this.authSessionId = '',
    this.receiveAllMessages = false,
    this.userAgent = '',
    this.clientType = ClientType.unknown,
    this.parameters = const {},
    this.sdkType = SdkType.unknown,
    this.viewportWidth = 0,
    this.viewportHeight = 0,
    this.theme = '',
    this.timezone = '',
    this.isTouchDevice = false,
    this.initialPath = '',
    this.styleFormat = StyleFormat.css,
});