MBMultipartForm.file constructor

MBMultipartForm.file(
  1. String name,
  2. String? path,
  3. MediaType? mimeType
)

Initializes a MBMultipartForm object with name and a file

Implementation

MBMultipartForm.file(
  this.name,
  this.path,
  this.mimeType,
)   : isFile = true,
      value = null;