canUpdate property

bool get canUpdate

return true if update is available

Implementation

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