toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "url": url.toString(),
    "headers": headers,
    "method": method,
    "hasGesture": hasGesture,
    "isForMainFrame": isForMainFrame,
    "isRedirect": isRedirect
  };
}