FileUplaod constructor
FileUplaod({
- File? file,
- statusUpload status = statusUpload.initi,
- String? onlinePath,
- double progress = 0,
Implementation
FileUplaod(
{this.file,
this.status = statusUpload.initi,
this.onlinePath,
this.progress = 0})
: fileName = file?.path.split('/').last;