2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-05-06 04:02:57 +00:00
This commit is contained in:
Ahmed Zamil 2019-08-07 05:14:55 +03:00
parent 85b34b0eef
commit b796bf9436

View File

@ -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");