PlaybackEventMessage.fromJson constructor

PlaybackEventMessage.fromJson(
  1. Map json
)

Implementation

PlaybackEventMessage.fromJson(Map<dynamic, dynamic> json) {
  playerId = json['playerId'] as String;
  currentTime = json['currentTime'] as double;
  duration = json['duration'] as double;
}