mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 04:02:57 +00:00
Comments
This commit is contained in:
parent
85b34b0eef
commit
b796bf9436
@ -12,9 +12,10 @@ main() async
|
||||
// use await
|
||||
print("Added successfully ${await x.Add(40)}");
|
||||
// use named arguments
|
||||
await x.Add(value: 20);
|
||||
print(await x.Add(value: 20));
|
||||
// test chunks
|
||||
x.Stream(10).chunk((c)=>print(c));
|
||||
// property setter
|
||||
x.Level += 900;
|
||||
|
||||
print("Done");
|
||||
|
Loading…
x
Reference in New Issue
Block a user