Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi committed Sep 26, 2024
1 parent 6e87fcd commit bffea4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/jnigen/docs/interface_implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,12 @@ class Printer with $Runnable {
Printer(this.text);
@override
Future<void> run() async {
void run() {
print(text);
}
}
@override
bool get run$async => true; // This makes the run method non-blocking.
```
Expand Down

0 comments on commit bffea4e

Please sign in to comment.