Dale King

Results 141 comments of Dale King

Or perhaps there are additional boolean parameters to the copyWith like field1Null for each nullable field that says to interpret null as truly null. So for example: ``` class Foo...

This is really becoming a problem for me in my project right now

No rush you do what you need to do. If I have some time I will look into it. I have another work around. I created a type called Supplier:...

OK, ignore what I said about my Supplier workaround as that did not work. I do now see how to detect if a type is a function. At [this point...

Think I just changed the design and dealt with the lack of encapsulation by referencing the GetIt instance. It was a proof of concept project that I haven't touched in...

So the tldr; version of that is: - Add an optional environment filter parameter to the generated function that takes a list of strings and returns bool saying whether to...

Went back and looked at the code and I wasn't mistaken about the way that the code currently works. It is only designed to be called once because it always...

Here is what I am working on for my case of a filter generator function (not tested yet): ``` const Environment android = Environment("android"); const Environment iOS = Environment("iOS"); const...

Would certainly be an improvement over what you have. The advantage of the templates is that you could allow someone to supply their own set of template files to tweak...

It doesn't generate the output, but build_runner just keeps spitting out messages that it is waiting for actions to complete.