bullet method

Offer bullet(
  1. String text,
  2. bool isUsed
)

An array of Bullet objects that describe the data usage permissions included in this Offer, to be shown in the pre-built UI.

Each bullet provides a concise description of how the user's data will be used under this Offer.

It contains a text property which describes the data usage and an isUsed property which indicates whether the data is being used or not.

Additionally, this method returns the Offer object to enable convenient chaining of method calls during offer initialization.

Implementation

Offer bullet(String text, bool isUsed) {
  _bullets.add(Bullet(text, isUsed));
  return this;
}