isPopulated method

  1. @override
bool isPopulated(
  1. Product product
)
override

Returns true if the field is populated for that product.

Implementation

@override
bool isPopulated(Product product) =>
    product.packagingTextInLanguages?.isEmpty == false;