toJson method
Implementation
Map<String, dynamic> toJson() => {
'ContextType': contextType.value,
'UserType': userType.value,
'PayloadType': payloadType.value,
'Description': description,
'UserId': userId,
'DeviceId': deviceId,
'ProductId': productId,
'VersionId': versionId,
'InstallId': installId,
'Locale': locale,
'SessionId': sessionId,
'IsInternal': isInternal,
'IsSnapshot': isSnapshot,
'IsReady': isReady,
'HasInput': hasInput,
'ChannelLocale': channelLocale,
'EmbeddedSpaceId': embeddedSpaceId,
'AuthSessionId': authSessionId,
'ReceiveAllMessages': receiveAllMessages,
'PreciseJoinedAt': preciseJoinedAt,
'UserAgent': userAgent,
'ClientType': clientType.value,
'UniqueSessionId': uniqueSessionId,
'Parameters': parameters,
'SdkType': sdkType.value,
'SdkCapability': sdkCapability,
'ViewportWidth': viewportWidth,
'ViewportHeight': viewportHeight,
'Theme': theme,
'Timezone': timezone,
'IsTouchDevice': isTouchDevice,
'InitialPath': initialPath,
'StyleFormat': styleFormat.value,
'SupportsCompression': supportsCompression,
'IsSoftDisconnected': isSoftDisconnected,
'SoftDisconnectAt': softDisconnectAt,
};