Commit f2d500cb by Jan-Derk

Updated README.md

parent f8d46c73
...@@ -144,7 +144,7 @@ You can get a `Permission`'s `status`, which is either `granted`, `denied`, `res ...@@ -144,7 +144,7 @@ You can get a `Permission`'s `status`, which is either `granted`, `denied`, `res
```dart ```dart
var status = await Permission.camera.status; var status = await Permission.camera.status;
if (status.denied) { if (status.isDenied) {
// We didn't ask for permission yet or the permission has been denied before but not permanently. // We didn't ask for permission yet or the permission has been denied before but not permanently.
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment