MusicMsg.from constructor

MusicMsg.from(
  1. Map data
)

Implementation

MusicMsg.from(Map data)
    : type = data['type'] ?? 'music',
      source = data['source'] ?? '',
      coverURL = data['coverURL'] ?? '',
      title = data['title'] ?? '',
      from = data['from'] ?? '';