Commit 7e8064b1 by Maurits van Beusekom Committed by GitHub

Merge pull request #551 from Baseflow/issue/506

Updated README.md
parents f8d46c73 f2d500cb
...@@ -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