toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"event": event,
"userId": userId,
"userEmail": userEmail,
"userName": userName,
"mode": mode,
"ip": ip,
"time": time,
"osCode": osCode,
"osName": osName,
"osVersion": osVersion,
"clientType": clientType,
"clientCode": clientCode,
"clientName": clientName,
"clientVersion": clientVersion,
"clientEngine": clientEngine,
"clientEngineVersion": clientEngineVersion,
"deviceName": deviceName,
"deviceBrand": deviceBrand,
"deviceModel": deviceModel,
"countryCode": countryCode,
"countryName": countryName,
};
}