canUpdate property

bool get canUpdate

Implementation

bool get canUpdate =>
    _shouldUpdate(currentVersion, (newVersion ?? currentVersion));