Adds missing body to URLRequest mapping.

This commit is contained in:
Michael Kao 2021-09-28 12:02:24 +02:00
parent f06bcdf695
commit 4e47efe111
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ extension URLRequest {
"url": url?.absoluteString,
"method": httpMethod,
"headers": allHTTPHeaderFields,
"body": httpBody.map(FlutterStandardTypedData.init(bytes:)),
"iosAllowsCellularAccess": allowsCellularAccess,
"iosAllowsConstrainedNetworkAccess": iosAllowsConstrainedNetworkAccess,
"iosAllowsExpensiveNetworkAccess": iosAllowsExpensiveNetworkAccess,