This is the Error when u are uploading files to firestore firebase. So I sol this Error. Checkout the answer below in Answers section. Thanks
The method 'basename' isn't defined for the type 'Path'. (Documentation)
1.8k Views Asked by 3kdeveloper At
2
Just add this Line in Imports import 'package:path/path.dart' as Path;