multipartField method
Implementation
MethodWithBody multipartField(String field, value) {
if (_body is! Map<String, Multipart>) {
_body = <String, Multipart>{};
}
if (value != null) {
_body[field] = MultipartString(value!.toString());
}
return this;
}