play method

  1. @override
Future<void> play(
  1. String soundId, {
  2. double volume = 1.0,
})
override

Implementation

@override
Future<void> play(String soundId, {double volume = 1.0}) async {
  await methodChannel.invokeMethod<String>(
      'play', <String, Object>{'soundId': soundId, 'volume': volume});
}