setOnce method

Future<void> setOnce(
  1. bool once
)

Implementation

Future<void> setOnce(bool once) async {
  this.once = once;
  await notify(PlayerEvent.once);
}