NetworkMultipartPart constructor

const NetworkMultipartPart({
  1. required String name,
  2. Object? value,
  3. String? fileName,
  4. String? filename,
  5. String? contentType,
  6. int? length,
})

Implementation

const NetworkMultipartPart({
  required this.name,
  this.value,
  String? fileName,
  String? filename,
  this.contentType,
  this.length,
}) : fileName = fileName ?? filename;