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