Skip to content

Commit a5fefe9

Browse files
booiljungkwalrath
authored andcommitted
callable class does not call classes. calling a instance. (#1620)
1 parent 693c8bd commit a5fefe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_guides/language/language-tour.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4125,7 +4125,7 @@ Iterable<int> naturalsDownFrom(int n) sync* {
41254125

41264126
## Callable classes
41274127

4128-
To allow your Dart class to be called like a function,
4128+
To allow an instance of your Dart class to be called like a function,
41294129
implement the `call()` method.
41304130

41314131
In the following example, the `WannabeFunction` class defines

0 commit comments

Comments
 (0)