body method

Future<Map<String, dynamic>> body()

Returns only the parsed body fields.

Query parameters are not included in this result.

Example:

final body = await form.body();
print(body['name']);

Implementation

Future<Map<String, dynamic>> body() async {
  await _ensureParsed();
  return Map<String, dynamic>.from(_fields);
}