TdUploadData constructor

TdUploadData({
  1. required String id,
  2. required TdUploadType type,
  3. required String name,
  4. String? url,
  5. TdUploadState state = TdUploadState.loading,
  6. int percent = 0,
})

Implementation

TdUploadData({
  required this.id,
  required this.type,
  required this.name,
  this.url,
  this.state = TdUploadState.loading,
  this.percent = 0,
});