RedPacketStatusMsg.from constructor

RedPacketStatusMsg.from(
  1. Map data
)

Implementation

RedPacketStatusMsg.from(Map data)
    : oId = data['oId'] ?? '',
      count = data['count'] ?? 0,
      got = data['got'] ?? 0,
      whoGive = data['whoGive'] ?? '',
      whoGot = data['whoGot'] ?? '',
      avatarURL20 = data['userAvatarURL20'] ?? '',
      avatarURL48 = data['userAvatarURL48'] ?? '',
      avatarURL210 = data['userAvatarURL210'] ?? '';