INNER CODE UNIT · Dart
from
rhymelph/r_upgrade · lib/r_upgrade.dart:341
static DownloadStatus from(int value) => DownloadStatus._internal(value);
static const STATUS_PAUSED = const DownloadStatus._internal(0);
static const STATUS_PENDING = const DownloadStatus._internal(1);
static const STATUS_RUNNING = const DownloadStatus._internal(2);
static const STATUS_SUCCESSFUL = const DownloadStatus._internal(3);
static const STATUS_FAILED = const DownloadStatus._internal(4);
static const STATUS_CANCEL = const DownloadStatus._internal(5);
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is DownloadStatus &&
runtimeType == other.runtimeType &&
_value == other._value;
@override
int get hashCode => _value.hashCode;