ClientEnvironment constructor

ClientEnvironment({
  1. String description = '',
  2. String deviceId = '',
  3. String productId = '',
  4. String versionId = '',
  5. String installId = '',
  6. String locale = '',
  7. String userAgent = '',
  8. ClientType clientType = ClientType.unknown,
  9. SdkType sdkType = SdkType.unknown,
  10. int sdkCapability = 0,
  11. int protocolVersion = 0,
  12. PayloadType payloadType = PayloadType.unknown,
  13. StyleFormat styleFormat = StyleFormat.css,
  14. bool supportsCompression = true,
  15. bool hasInput = false,
  16. bool receiveAllMessages = false,
  17. int viewportWidth = 0,
  18. int viewportHeight = 0,
  19. String theme = '',
  20. String timezone = '',
  21. bool isTouchDevice = false,
  22. String initialPath = '',
  23. String initialUrl = '',
  24. bool isSnapshot = false,
  25. String snapshotVariant = '',
})

Implementation

ClientEnvironment({
    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 = '',
});