OnlineInfo.from constructor

OnlineInfo.from(
  1. Map data
)

Implementation

OnlineInfo.from(Map data)
    : homePage = data['homePage'] ?? '',
      avatarURL = data['userAvatarURL'] ?? '',
      userName = data['userName'] ?? '';