canSelfUpdate property

  1. @override
bool get canSelfUpdate
override

Whether this installation can update itself.

False for a source checkout, which must not be replaced by a pub release.

Implementation

@override
bool get canSelfUpdate => installation != CliInstallation.source;