load method

  1. @override
Future<void> load(
  1. String filePath
)
override

Implementation

@override
Future<void> load(String filePath) async {
  try {
    await _channel.invokeMethod('load', filePath);
  } on PlatformException catch (e) {
    _logger.severe("Failed to load audio: '${e.message}'.");
  }
}