toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (deviceInfo != null) 'deviceInfo': deviceInfo!,
if (domain != null) 'domain': domain!,
if (sessionId != null) 'sessionId': sessionId!,
if (userId != null) 'userId': userId!,
};