Map<String, dynamic> toMap() { return { "url": url?.toString(), "message": message, "iosIsMainFrame": iosIsMainFrame }; }