FileData constructor

FileData({
  1. required String filename,
  2. bool upload = true,
})

Create a new FileData based the file path and whether it is to be uploaded or not.

Implementation

FileData({required this.filename, this.upload = true}) : super();