PackageEvent class
Represents the event arguments of PackageManager events.
Constructors
- PackageEvent({required String packageId, required PackageType packageType, required PackageEventType eventType, required PackageEventState eventState, required int progress})
- Creates an instance of PackageEvent with the given parameters.
Properties
- eventState → PackageEventState
-
The package manager event state.
final
- eventType → PackageEventType
-
The package manager event type.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageId → String
-
The package ID.
final
- packageType → PackageType
-
Type of the package.
final
- progress → int
-
Progress for the request being processed by the package manager (in percent).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
fromMap(
dynamic map) → PackageEvent -
Creates an instance of PackageEvent from the
map
.