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. String authProvider = '',
  10. String ssoConnectionId = '',
  11. String testLinkId = '',
  12. String testLinkName = '',
  13. Opcode opcodeGroupsFromServer = Opcode.NONE,
  14. Opcode opcodeGroupsToServer = Opcode.NONE,
  15. Map<String, String> parameters = const {},
  16. String description = '',
  17. String deviceId = '',
  18. String productId = '',
  19. String versionId = '',
  20. String installId = '',
  21. String locale = '',
  22. String userAgent = '',
  23. ClientType clientType = ClientType.unknown,
  24. SdkType sdkType = SdkType.unknown,
  25. int sdkCapability = 0,
  26. int protocolVersion = 0,
  27. PayloadType payloadType = PayloadType.unknown,
  28. StyleFormat styleFormat = StyleFormat.css,
  29. bool supportsCompression = true,
  30. bool hasInput = false,
  31. bool receiveAllMessages = false,
  32. int viewportWidth = 0,
  33. int viewportHeight = 0,
  34. String theme = '',
  35. String timezone = '',
  36. bool isTouchDevice = false,
  37. String initialPath = '',
  38. String initialUrl = '',
  39. bool isSnapshot = false,
  40. 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.authProvider = '',
    this.ssoConnectionId = '',
    this.testLinkId = '',
    this.testLinkName = '',
    this.opcodeGroupsFromServer = Opcode.NONE,
    this.opcodeGroupsToServer = Opcode.NONE,
    this.parameters = const {},
    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 = '',
});