ProgressKind enum

What happened. The native sides emit one event per phase transition.

Inheritance
Available extensions

Values

started → const ProgressKind

The phase began.

progress → const ProgressKind

In-flight progress update — usually carries ProgressEvent.percent.

completed → const ProgressKind

The phase succeeded.

failed → const ProgressKind

The phase failed; ProgressEvent.errorKind / ProgressEvent.errorMessage carry the cause.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wireValue String
Wire-format identifier.
no setter

Methods

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

Operators

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

Static Methods

fromWire(String value) ProgressKind?
Parse a wire-format string. Returns null on unknown values.

Constants

values → const List<ProgressKind>
A constant List of the values in this enum, in order of their declaration.