NowPlayingDataChanged.fromJson constructor

NowPlayingDataChanged.fromJson(
  1. String data
)

Implementation

factory NowPlayingDataChanged.fromJson(String data) {
  var json = jsonDecode(data);
  return NowPlayingDataChanged(
    title: json['title'],
  );
}