PutOptions constructor

const PutOptions({
  1. String? key,
  2. String? mimeType,
  3. bool forceBySingle = false,
  4. int partSize = 4,
  5. int maxPartsRequestNumber = 5,
  6. Map<String, String>? customVars,
  7. PutController? controller,
})

Implementation

const PutOptions({
  this.key,
  this.mimeType,
  this.forceBySingle = false,
  this.partSize = 4,
  this.maxPartsRequestNumber = 5,
  this.customVars,
  this.controller,
}) : assert(
        partSize >= 1 && partSize <= 1024,
        'partSize must be greater than or equal to 1 and less than or equal to 1024',
      );