FileDatum constructor

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

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

Implementation

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