setAudioFile method

  1. @override
Future<void> setAudioFile(
  1. String path
)
override

Implementation

@override
Future<void> setAudioFile(String path) async {
  try {
    await methodChannel.invokeMethod<void>('setAudioFile', {
      'path': path,
    });
  } catch (e) {
    if (kDebugMode) {
      print(e);
    }
    // rethrow;
  }
}