hasEnoughLengthDescription function
Check the description is has enough charather
Set privatePackage to true if not going to publish
Implementation
bool hasEnoughLengthDescription(String description,
{bool privatePackage = false}) =>
privatePackage
? true
: (description.length >= 60 && description.length <= 180);