Map<String, Object?> toMap() { return { "id": id, "userId": userId, "deviceId": deviceId, "identifiers": identifiers, "properties": properties, }; }