Part constructor

const Part([
  1. String? name
])

Use Part to define a part of a Multipart request.

All values will be converted to String using their toString method.

Also accepts MultipartFile (from package:http).

Implementation

const Part([this.name]);