danschultz / frappe

A Dart package for functional reactive programming

Home Page:http://pub.dartlang.org/packages/frappe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thoughts on making `withInitialValue` methods use named parameter instead

ajlai opened this issue · comments

What do you think about having

Property.fromStream(stream, initialValue: initialValue);
Property.fromFuture(future, initialValue: initialValue);

instead of the existing

Property.fromStreamWIthInitialValue(stream, intitialValue);
Property.fromFutureWIthInitialValue(future, intitialValue);

?

I had initially thought about doing this. The issue is that you can no longer support having an initial value of null.