isGifted property

bool isGifted

is the item gifted from a player

Implementation

bool get isGifted =>
    attributes["giftFromAccountId"] != null &&
    attributes["giftFromAccountId"] != "";