toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"actorType": actorType,
"actorId": actorId,
"actorEmail": actorEmail,
"actorName": actorName,
"resourceParent": resourceParent,
"resourceType": resourceType,
"resourceId": resourceId,
"resource": resource,
"event": event,
"userAgent": userAgent,
"ip": ip,
"mode": mode,
"country": country,
"continentCode": continentCode,
"city": city,
"subdivisions": subdivisions,
"isp": isp,
"autonomousSystemNumber": autonomousSystemNumber,
"autonomousSystemOrganization": autonomousSystemOrganization,
"connectionType": connectionType,
"connectionUsageType": connectionUsageType,
"connectionOrganization": connectionOrganization,
"time": time,
"projectId": projectId,
"teamId": teamId,
"hostname": hostname,
"sdk": sdk,
"sdkVersion": sdkVersion,
};
}