urlEncodedFormField method
Implementation
MethodWithBody urlEncodedFormField(String name, value) {
if (_body is! Map<String, String>) {
_body = <String, String>{};
}
if (value != null) {
_body[name] = value?.toString();
}
return this;
}