play abstract method

Future<void> play(
  1. String filePath
)

Initiates audio playback for the specified file.

This method sends a request to the platform to play the audio file located at the given filePath.

Implementation

Future<void> play(String filePath);