Map<String, dynamic> toMap() { return { "initiatorType": initiatorType, "url": url?.toString(), "startTime": startTime, "duration": duration }; }