pickAttachment method
Implementation
Future<void> pickAttachment() async {
FilePickerResult? result = await FilePicker.platform.pickFiles();
if (result != null) {
attachmentPath.value = result.files.single.path;
}
}
Future<void> pickAttachment() async {
FilePickerResult? result = await FilePicker.platform.pickFiles();
if (result != null) {
attachmentPath.value = result.files.single.path;
}
}