hasChanges property

bool get hasChanges

True when any packages were added or commented.

Implementation

bool get hasChanges => added.isNotEmpty || commented.isNotEmpty;