MultipartPart constructor

MultipartPart({
  1. required String name,
  2. required Stream<List<int>> content,
  3. String? filename,
  4. String? contentType,
})

Wraps one streaming part.

Implementation

MultipartPart({
  required this.name,
  required Stream<List<int>> content,
  this.filename,
  this.contentType,
}) : _content = content;