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,
"time": time,
"projectId": projectId,
"teamId": teamId,
"hostname": hostname,
};
}