select static method

Future<List<String>> select({
  1. List<String>? type,
})

Implementation

static Future<List<String>> select({List<String>? type}) async {
  if (Platform.isAndroid) {
    return (await _channel.invokeListMethod<String>('select', {
      'type': type ?? ["aac", "mp3", "wav", "m4a", "flac"]
    }))!;
  } else {
    return [];
  }
}