Skip to content

Commit

Permalink
docs: update example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Mar 14, 2022
1 parent fa99765 commit bee9a1e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ To do so, a Thing Description JSON string is first parsed and turned into a

```dart
import 'dart:async';
import 'dart:io';
import 'package:dart_wot/dart_wot.dart';
Expand All @@ -60,7 +59,7 @@ FutureOr<void> main(List<String> args) async {
"status": {
"forms": [
{
"href": "/.well-known/core"
"href": "/hello"
}
]
}
Expand All @@ -73,7 +72,6 @@ FutureOr<void> main(List<String> args) async {
final status = await consumedThing.readProperty("status", null);
final value = await status.value();
print(value);
exit(0);
}
```

Expand Down

0 comments on commit bee9a1e

Please sign in to comment.