toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"request": request.toMap(),
"isForMainFrame": isForMainFrame,
"hasGesture": hasGesture,
"isRedirect": isRedirect,
"navigationType": navigationType?.toNativeValue(),
"sourceFrame": sourceFrame?.toMap(),
"targetFrame": targetFrame?.toMap(),
"shouldPerformDownload": shouldPerformDownload,
"isDialog": isDialog,
"windowFeatures": windowFeatures?.toMap(),
"windowId": windowId,
};
}