Context constructor

Context({
  1. ContextType contextType = ContextType.unknown,
  2. UserType userType = UserType.unknown,
  3. PayloadType payloadType = PayloadType.unknown,
  4. String description = '',
  5. String userId = '',
  6. String deviceId = '',
  7. String productId = '',
  8. String versionId = '',
  9. String installId = '',
  10. String locale = '',
  11. int sessionId = -1,
  12. bool isInternal = false,
  13. bool isSnapshot = false,
  14. String snapshotVariant = '',
  15. bool isReady = false,
  16. bool hasInput = false,
  17. String authSessionId = '',
  18. bool isAnonymous = false,
  19. bool isGlobal = false,
  20. String authProvider = '',
  21. String ssoConnectionId = '',
  22. String delegationClaims = '',
  23. String surface = '',
  24. String host = '',
  25. String hostLabel = '',
  26. String testLinkId = '',
  27. String testLinkName = '',
  28. FeedbackAdmission feedbackAdmission = FeedbackAdmission.unknown,
  29. String geoCountry = '',
  30. String geoSubdivision = '',
  31. String geoCity = '',
  32. int edgeRttMsec = 0,
  33. bool receiveAllMessages = false,
  34. int preciseJoinedAt = 0,
  35. String userAgent = '',
  36. ClientType clientType = ClientType.unknown,
  37. String uniqueSessionId = '',
  38. Map<String, String> parameters = const {},
  39. SdkType sdkType = SdkType.unknown,
  40. int sdkCapability = 0,
  41. int viewportWidth = 0,
  42. int viewportHeight = 0,
  43. String theme = '',
  44. String timezone = '',
  45. String visibility = '',
  46. bool isTouchDevice = false,
  47. String initialPath = '',
  48. String initialUrl = '',
  49. StyleFormat styleFormat = StyleFormat.css,
  50. bool supportsCompression = true,
  51. bool isSoftDisconnected = false,
  52. int softDisconnectAt = 0,
  53. bool doNotTrack = false,
  54. String tabId = '',
  55. String referrer = '',
})

Implementation

Context({
    this.contextType = ContextType.unknown,
    this.userType = UserType.unknown,
    this.payloadType = PayloadType.unknown,
    this.description = '',
    this.userId = '',
    this.deviceId = '',
    this.productId = '',
    this.versionId = '',
    this.installId = '',
    this.locale = '',
    this.sessionId = -1,
    this.isInternal = false,
    this.isSnapshot = false,
    this.snapshotVariant = '',
    this.isReady = false,
    this.hasInput = false,
    this.authSessionId = '',
    this.isAnonymous = false,
    this.isGlobal = false,
    this.authProvider = '',
    this.ssoConnectionId = '',
    this.delegationClaims = '',
    this.surface = '',
    this.host = '',
    this.hostLabel = '',
    this.testLinkId = '',
    this.testLinkName = '',
    this.feedbackAdmission = FeedbackAdmission.unknown,
    this.geoCountry = '',
    this.geoSubdivision = '',
    this.geoCity = '',
    this.edgeRttMsec = 0,
    this.receiveAllMessages = false,
    this.preciseJoinedAt = 0,
    this.userAgent = '',
    this.clientType = ClientType.unknown,
    this.uniqueSessionId = '',
    this.parameters = const {},
    this.sdkType = SdkType.unknown,
    this.sdkCapability = 0,
    this.viewportWidth = 0,
    this.viewportHeight = 0,
    this.theme = '',
    this.timezone = '',
    this.visibility = '',
    this.isTouchDevice = false,
    this.initialPath = '',
    this.initialUrl = '',
    this.styleFormat = StyleFormat.css,
    this.supportsCompression = true,
    this.isSoftDisconnected = false,
    this.softDisconnectAt = 0,
    this.doNotTrack = false,
    this.tabId = '',
    this.referrer = '',
});