copyWith method

UploadRecivedModel copyWith({
  1. String? fieldname,
  2. String? originalname,
  3. String? encoding,
  4. String? mimetype,
  5. String? destination,
  6. String? filename,
  7. String? path,
  8. String? size,
})

Implementation

UploadRecivedModel copyWith({
  String? fieldname,
  String? originalname,
  String? encoding,
  String? mimetype,
  String? destination,
  String? filename,
  String? path,
  String? size,
}) =>
    UploadRecivedModel(
      fieldname: fieldname ?? this.fieldname,
      originalname: originalname ?? this.originalname,
      encoding: encoding ?? this.encoding,
      mimetype: mimetype ?? this.mimetype,
      destination: destination ?? this.destination,
      filename: filename ?? this.filename,
      path: path ?? this.path,
      size: size ?? this.size,
    );