I think I remember something like this from python, maybe it was the walrus operator? idk.

but is there a way to set an attribute while returning the value? something like this:

```
class Foo {
  late String foo;
  Foo();
  String setFoo() => foo := 'foo';
}

f = Foo();
x = f.setFoo();
print(x);
// 'foo'

```