formData property

Map? get formData

If the request method is POST and the body is a sequence of key-value pairs encoded in UTF8, encoded as either multipart/form-data, or application/x-www-form-urlencoded, this dictionary is present and for each key contains the list of all values for that key. If the data is of another media type, or if it is malformed, the dictionary is not present. An example value of this dictionary is {'key': 'value1', 'value2'}.

Implementation

Map? get formData => _wrapped.formData?.toDartMap();
set formData (Map? v)

Implementation

set formData(Map? v) {
  _wrapped.formData = v?.jsify();
}