DownloadDelta constructor
DownloadDelta({
- required int id,
- StringDelta? url,
- StringDelta? finalUrl,
- StringDelta? filename,
- StringDelta? danger,
- StringDelta? mime,
- StringDelta? startTime,
- StringDelta? endTime,
- StringDelta? state,
- BooleanDelta? canResume,
- BooleanDelta? paused,
- StringDelta? error,
- DoubleDelta? totalBytes,
- DoubleDelta? fileSize,
- BooleanDelta? exists,
Implementation
DownloadDelta({
/// The `id` of the [DownloadItem]
/// that changed.
required int id,
/// The change in `url`, if any.
StringDelta? url,
/// The change in `finalUrl`, if any.
StringDelta? finalUrl,
/// The change in `filename`, if any.
StringDelta? filename,
/// The change in `danger`, if any.
StringDelta? danger,
/// The change in `mime`, if any.
StringDelta? mime,
/// The change in `startTime`, if any.
StringDelta? startTime,
/// The change in `endTime`, if any.
StringDelta? endTime,
/// The change in `state`, if any.
StringDelta? state,
/// The change in `canResume`, if any.
BooleanDelta? canResume,
/// The change in `paused`, if any.
BooleanDelta? paused,
/// The change in `error`, if any.
StringDelta? error,
/// The change in `totalBytes`, if any.
DoubleDelta? totalBytes,
/// The change in `fileSize`, if any.
DoubleDelta? fileSize,
/// The change in `exists`, if any.
BooleanDelta? exists,
}) : _wrapped = $js.DownloadDelta(
id: id,
url: url?.toJS,
finalUrl: finalUrl?.toJS,
filename: filename?.toJS,
danger: danger?.toJS,
mime: mime?.toJS,
startTime: startTime?.toJS,
endTime: endTime?.toJS,
state: state?.toJS,
canResume: canResume?.toJS,
paused: paused?.toJS,
error: error?.toJS,
totalBytes: totalBytes?.toJS,
fileSize: fileSize?.toJS,
exists: exists?.toJS,
);