OtaStatus enum Null safety

Enum values describing states

Inheritance

Constructors

OtaStatus()
const

Values

DOWNLOADING → const OtaStatus

FILE IS BEING DOWNLOADED

const OtaStatus(0)
INSTALLING → const OtaStatus

INSTALLATION HAS BEEN TRIGGERED

const OtaStatus(1)
ALREADY_RUNNING_ERROR → const OtaStatus

DOWNLOAD IS ALREADY RUNNING

const OtaStatus(2)
PERMISSION_NOT_GRANTED_ERROR → const OtaStatus

COULD NOT CONTINUE BECAUSE OF MISSING PERMISSIONS

const OtaStatus(3)
INTERNAL_ERROR → const OtaStatus

UNKWNON ERROR. SEE VALUE FOR MORE INFROMATION

const OtaStatus(4)
DOWNLOAD_ERROR → const OtaStatus

FILE COULD NOT BE DOWNLOADED. SEE VALUE FOR MORE INFORMATION

const OtaStatus(5)
CHECKSUM_ERROR → const OtaStatus

CHECKSUM VERIFICATION FAILED. MOSTLY THIS IS DUE INCORRECT OR CORRUPTED FILE THIS IS ALSO RETURNED IF PLUGIN WAS UNABLE TO CALCULATE SHA 256 HASH OF DOWNLOADED FILE SEE VALUE FOR MORE INFORMATION

const OtaStatus(6)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<OtaStatus>
A constant List of the values in this enum, in order of their declaration.
[DOWNLOADING, INSTALLING, ALREADY_RUNNING_ERROR, PERMISSION_NOT_GRANTED_ERROR, INTERNAL_ERROR, DOWNLOAD_ERROR, CHECKSUM_ERROR]