Lasse R.H. Nielsen

Results 1594 comments of Lasse R.H. Nielsen

I'd probably just go with something like: ```dart extension DateTimeDate on DateTime { bool get isDate => isUtc && millisecondsSinceEpoch % Duration.millisecondsPerDay == 0; DateTime toDate() => DateTime.utc(year, month, day);...

The "could also be in `src/foo.dart`" can be applied to the entire declaration. If you declare both `Foo` and `MockFooMixin` in `src/foo.dart`, you can choose to only export `Foo` in...

It feels like there is a kind of expression that has a a header and a body, and it's OK to keep the header on the same line as something...

If possible, please ensure that existing issues (at least open issues) and pull requests are migrated along with the code. That's likely non-trivial, also because of references from other issues,...