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