ConnectToken constructor

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

Implementation

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