OtaEvent class Null safety

Event describing current status

Constructors

OtaEvent(OtaStatus status, String? value)
Constructor for OtaEvent

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
status OtaStatus
Current status as enum value
read / write
value String?
Additional status info e.g. percents downloaded or error message (can be null)
read / write

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