convertFromMap static method
Implementation
static PlayerStyle convertFromMap(Map<String, dynamic> map) {
var controllerStyle = map["controllerStyle"];
var textColor = map["textColor"];
var unplayedColor = map["unplayedColor"];
var playedColor = map["playedColor"];
var bufferedColor = map["bufferedColor"];
var tintColor = map["tintColor"];
var muteOffImageDrawable = map["muteOffImageDrawable"];
var muteOnImageDrawable = map["muteOnImageDrawable"];
return PlayerStyle(
controllerStyle: controllerStyle,
textColor: textColor,
unplayedColor: unplayedColor,
playedColor: playedColor,
bufferedColor: bufferedColor,
tintColor: tintColor,
muteOffImageDrawable: muteOffImageDrawable,
muteOnImageDrawable: muteOnImageDrawable,
);
}