toJson method
Implementation
Map<String, dynamic> toJson() => {
'ServerSessionId': serverSessionId,
'ContextType': contextType.value,
'UserType': userType.value,
'PayloadType': payloadType.value,
'IsInternal': isInternal,
'IsSnapshot': isSnapshot,
'Description': description,
'UserId': userId,
'DeviceId': deviceId,
'ProductId': productId,
'VersionId': versionId,
'InstallId': installId,
'Locale': locale,
'OpcodeGroupsFromServer': opcodeGroupsFromServer.value,
'OpcodeGroupsToServer': opcodeGroupsToServer.value,
'ProtocolVersion': protocolVersion,
'HasInput': hasInput,
'ChannelLocale': channelLocale,
'EmbeddedSpaceId': embeddedSpaceId,
'AuthSessionId': authSessionId,
'ReceiveAllMessages': receiveAllMessages,
'UserAgent': userAgent,
'ClientType': clientType.value,
'Parameters': parameters,
'SdkType': sdkType.value,
'SdkCapability': sdkCapability,
'ViewportWidth': viewportWidth,
'ViewportHeight': viewportHeight,
'Theme': theme,
'Timezone': timezone,
'IsTouchDevice': isTouchDevice,
'InitialPath': initialPath,
'StyleFormat': styleFormat.value,
'SupportsCompression': supportsCompression,
};