requestPermission method
请求麦克风权限
Implementation
Future<bool> requestPermission() async {
try {
_recorderController ??= RecorderController();
return await _recorderController!.checkPermission();
} catch (e) {
print('请求权限失败: $e');
return false;
}
}