openAudioFilePicker static method

Future<String?> openAudioFilePicker()

Opens the audio file picker to select an audio file for [Platform.isAndroid].

Returns a Future that completes with a String representing the path of the selected audio file, or null if no file is selected.

Throws an error if there is any issue opening the audio file picker.

Implementation

static Future<String?> openAudioFilePicker() async {
  return FlyChatFlutterPlatform.instance.openAudioFilePicker();
}