toJson method
Serializes this
as a JSON object.
Implementation
@override
Map<String, String> toJson() => {
if (deviceName != null) 'DeviceName': deviceName!,
if (thirdPartyDeviceId != null)
'ThirdPartyDeviceId': thirdPartyDeviceId!,
if (deviceFingerprint != null) 'DeviceFingerprint': deviceFingerprint!,
if (clientTimezone != null) 'ClientTimezone': clientTimezone!,
if (applicationName != null) 'ApplicationName': applicationName!,
if (applicationVersion != null)
'ApplicationVersion': applicationVersion!,
if (deviceLanguage != null) 'DeviceLanguage': deviceLanguage!,
if (deviceOsReleaseVersion != null)
'DeviceOsReleaseVersion': deviceOsReleaseVersion!,
if (screenHeightPixels != null)
'ScreenHeightPixels': screenHeightPixels!.toString(),
if (screenWidthPixels != null)
'ScreenWidthPixels': screenWidthPixels!.toString(),
};