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 description = '',
  13. String deviceId = '',
  14. String productId = '',
  15. String versionId = '',
  16. String installId = '',
  17. String locale = '',
  18. String userAgent = '',
  19. ClientType clientType = ClientType.unknown,
  20. SdkType sdkType = SdkType.unknown,
  21. int sdkCapability = 0,
  22. int protocolVersion = 0,
  23. PayloadType payloadType = PayloadType.unknown,
  24. StyleFormat styleFormat = StyleFormat.css,
  25. bool supportsCompression = true,
  26. bool hasInput = false,
  27. bool receiveAllMessages = false,
  28. int viewportWidth = 0,
  29. int viewportHeight = 0,
  30. String theme = '',
  31. String timezone = '',
  32. bool isTouchDevice = false,
  33. String initialPath = '',
  34. String initialUrl = '',
  35. bool isSnapshot = false,
  36. 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.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 = '',
});