message property
String
get
message
Implementation
String get message {
switch (this) {
case PlaybackState.uninitialized:
return 'Video not initialized';
case PlaybackState.loading:
return 'Loading video...';
case PlaybackState.ready:
return 'Ready to play';
case PlaybackState.playing:
return 'Playing';
case PlaybackState.paused:
return 'Paused';
case PlaybackState.ended:
return 'Playback ended';
case PlaybackState.error:
return 'Error occurred';
}
}