Skip to content

Commit ae04e22

Browse files
committed
Fixed README.md
1 parent 00f4950 commit ae04e22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ We can asynchronously detect the file type using the path or blob of the file.
6060
This requires that for Android, iOS, Linux, MacOS, and Windows, we pass the file path.
6161
In the web version, this parameter must be the blob of the file.
6262

63-
> **Note:** This `detectFileTypeFromPathOrBlob` method may throw a `PathNotFoundException` if the file is not found.
63+
> **Note:** This method may throw a `PathNotFoundException` if the file is not found.
6464
> It is recommended to handle this exception appropriately as shown in the following example.
6565
6666
```dart
@@ -101,7 +101,7 @@ void main() async {
101101
You can use file_picker to open the file dialog and then pass the file's path or blob to [FileMagicNumber.detectFileTypeFromBytes](https://github.com/vicajilau/file_magic_number/blob/main/lib/file_magic_number_type.dart) to identify its type.
102102
Here's how you can do it:
103103

104-
> **Note:** This `detectFileTypeFromPathOrBlob` method may throw a `PathNotFoundException` if the file is not found.
104+
> **Note:** This method may throw a `PathNotFoundException` if the file is not found.
105105
> It is recommended to handle this exception appropriately as shown in the following example.
106106
107107
```dart

0 commit comments

Comments
 (0)