play method
invokes the play method on the native platform, which plays the sound at
uri. Any currently playing sound is stopped first.
Implementation
@override
Future<void> play(String uri) =>
methodChannel.invokeMethod<void>('play', {'uri': uri});