toJson method
Serializes the WebViewRequest to JSON.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'uri': uri.toString(),
'method': method.serialize(),
'headers': headers,
'body': body,
};
Serializes the WebViewRequest to JSON.
Map<String, dynamic> toJson() => <String, dynamic>{
'uri': uri.toString(),
'method': method.serialize(),
'headers': headers,
'body': body,
};