BarragerMsg.from constructor

BarragerMsg.from(
  1. Map data
)

Implementation

BarragerMsg.from(Map data)
    : userName = data['userName'] ?? '',
      userNickname = data['userNickname'] ?? '',
      barragerContent = data['barragerContent'] ?? '',
      barragerColor = data['barragerColor'] ?? '',
      avatarURL = data['userAvatarURL'] ?? '',
      avatarURL20 = data['userAvatarURL20'] ?? '',
      avatarURL48 = data['userAvatarURL48'] ?? '',
      avatarURL210 = data['userAvatarURL210'] ?? '';