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