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