OnInstalledDetails constructor
OnInstalledDetails({
- required OnInstalledReason reason,
- String? previousVersion,
- String? id,
Implementation
OnInstalledDetails({
/// The reason that this event is being dispatched.
required OnInstalledReason reason,
/// Indicates the previous version of the extension, which has just been
/// updated. This is present only if 'reason' is 'update'.
String? previousVersion,
/// Indicates the ID of the imported shared module extension which updated.
/// This is present only if 'reason' is 'shared_module_update'.
String? id,
}) : _wrapped = $js.OnInstalledDetails(
reason: reason.toJS,
previousVersion: previousVersion,
id: id,
);