ProgressEventInit constructor

ProgressEventInit({
  1. bool? lengthComputable,
  2. int? loaded,
  3. int? total,
})

Implementation

factory ProgressEventInit(
        {bool? lengthComputable, int? loaded, int? total}) =>
    ProgressEventInit._(
        lengthComputable: lengthComputable ?? false,
        loaded: loaded ?? 0,
        total: total ?? 0);