getTags property

List<TitleTag> getTags

An array of TitleTag that apply to this Offer.

Each TitleTag is a representation of a tag that describes a data asset within a the TitleRecord to which this offer refers.

Use the tag method to manage the Offer tags. This method adds a new TitleTag object to the _tags List ensuring that the _tags List is correctly initialized and avoiding any potential overrides.

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

offer
 .tag(TitleTag.advertisingData())
 .tag(TitleTag.creditInfo())

Implementation

List<TitleTag> get getTags => _tags;