play static method

Stream<void> play(
  1. String asset, {
  2. bool loop = false,
})

Plays the provided asset and returns a Stream.

If the returned Stream is canceled, then the playback stops.

Implementation

static Stream<void> play(String asset, {bool loop = false}) {
  return Stream.empty();
}