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. bool isSnapshot = false,
  7. String description = '',
  8. String userId = '',
  9. String deviceId = '',
  10. String productId = '',
  11. String versionId = '',
  12. String installId = '',
  13. String locale = '',
  14. Opcode opcodeGroupsFromServer = Opcode.NONE,
  15. Opcode opcodeGroupsToServer = Opcode.NONE,
  16. int protocolVersion = 0,
  17. bool hasInput = false,
  18. String channelLocale = '',
  19. String embeddedSpaceId = '',
  20. String authSessionId = '',
  21. bool receiveAllMessages = false,
  22. String userAgent = '',
  23. ClientType clientType = ClientType.unknown,
  24. Map<String, String> parameters = const {},
  25. SdkType sdkType = SdkType.unknown,
  26. int sdkCapability = 0,
  27. int viewportWidth = 0,
  28. int viewportHeight = 0,
  29. String theme = '',
  30. String timezone = '',
  31. bool isTouchDevice = false,
  32. String initialPath = '',
  33. StyleFormat styleFormat = StyleFormat.css,
  34. bool supportsCompression = true,
})

Implementation

ConnectToken({
    this.serverSessionId = '',
    this.contextType = ContextType.unknown,
    this.userType = UserType.unknown,
    this.payloadType = PayloadType.unknown,
    this.isInternal = false,
    this.isSnapshot = 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.sdkCapability = 0,
    this.viewportWidth = 0,
    this.viewportHeight = 0,
    this.theme = '',
    this.timezone = '',
    this.isTouchDevice = false,
    this.initialPath = '',
    this.styleFormat = StyleFormat.css,
    this.supportsCompression = true,
});