SponsoredMessage constructor

const SponsoredMessage({
  1. required int messageId,
  2. required bool isRecommended,
  3. required MessageContent content,
  4. required MessageSponsor sponsor,
  5. required String additionalInfo,
})

Describes a sponsored message

Implementation

const SponsoredMessage({
  required this.messageId,
  required this.isRecommended,
  required this.content,
  required this.sponsor,
  required this.additionalInfo,
});