play method

Future<String> play (
  1. String resourceUri,
  2. {bool isLocal: false}
)

Play audio.

Implementation

Future<String> play(String resourceUri, {bool isLocal = false}) async {
  final String result = await _channel.invokeMethod('play', {
    'resourceUri': resourceUri,
  });

  return result;
}