Kevin Moore

Results 635 comments of Kevin Moore

Turns out this is more gnarly to do that you'd think. It's in my backlog, but not super high priority. Friendly reminder: I'm the only maintainer of this package – ...

Happy to look at this again. Will need a rebase! See my other comments!

```dart Map toJson() => _$UserJWTToJson(this); ``` This is correct. I don't recall any time we've ever expected an argument to `toJson` – are you using some other library?

> Nevertheless, would it be very difficult to detect the absence of a valid `toJson` method and improve the error message? Not *super* difficult, just work. Not a high priority....

There will be a clean way to handle this – but need to wait for Dart 2.14

That is super weird. 1) Have you run `pub upgrade` lately? 2) What is the Dart version when your run `flutter --version` (after `Tools).

Try this ```console > flutter packages pub run build_runner clean > flutter packages pub run build_runner build --verbose ```

Where is the `Color` type defined? Is it in the current package or somewhere else?

I bet you anything that's the issue. Will look into it. Thanks! On Wed, Jun 13, 2018 at 6:07 AM Dale Phurrough wrote: > Color is a core Flutter library...