Add a Dart sample

pull/185/head
Ömer Sinan Ağacan 2022-03-19 09:13:42 +07:00 committed by Wilfred Hughes
parent 0b7e00e517
commit fb73c84960
2 changed files with 12 additions and 0 deletions

@ -0,0 +1,5 @@
void test() {
Object()..a()..b();
expect(a.b.c.d()!.x);
}

@ -0,0 +1,7 @@
void test() {
if (x) {
Object().a().b();
}
expect(a.b(c.d()).x);
}