flags property

int get flags

Flags.

Implementation

int get flags {
  final v = _flag(
    b00: limited || availabilityRemains != null || availabilityTotal != null,
    b01: soldOut || firstSaleDate != null || lastSaleDate != null,
    b02: birthday,
    b07: requirePremium,
    b08: limitedPerUser || perUserTotal != null || perUserRemains != null,
    b10: peerColorAvailable,
    b11: auction ||
        auctionSlug != null ||
        giftsPerRound != null ||
        auctionStartDate != null,
    b04: availabilityResale != null || resellMinStars != null,
    b03: upgradeStars != null,
    b05: title != null,
    b06: releasedBy != null,
    b09: lockedUntilDate != null,
    b12: upgradeVariants != null,
    b13: background != null,
  );

  return v;
}