UserBag.from constructor

UserBag.from(
  1. Map data
)

Implementation

UserBag.from(Map data)
    : checkin1day = data['checkin1day'] ?? 0,
      checkin2days = data['checkin2days'] ?? 0,
      patchCheckinCard = data['patchCheckinCard'] ?? 0,
      metalTicket = data['metalTicket'] ?? 0;