Klemen Tusar

Results 234 comments of Klemen Tusar

I'm not sure I follow. All you have to do is to wire up the `fromJson` factory of the model with its `Type` in a `JsonConverter`. 1. Copy [this `JsonConverter`...

I had a similar issue when writing a CLI app. You have to do something like this in your `main.dart` ```dart import 'package:chopper/chopper.dart'; void main() async { chopperLogger.onRecord.listen((record) { print('${record.level.name}:...

Any news on this one? As @lejard-h pointed out above, it would be very helpful if all the `JsonConverter` methods had a `FutureOr` return type and the `_tryDecodeJson` were made...

> Thank you so much for your contribution. I will have a look soon! Sure, no problem 😊 All the breaking changes are limited to classes extending `JsonConverter` so it's...

@vaetas I did. But only something like 5-10. It worked just fine on a real iPhone or Android. The simulator however is a different story. Nonetheless, this PR just wraps...

@vaetas Indeed, `compute` will need furhter benchmarking, however, at we need to get the ball rolling and https://github.com/lejard-h/chopper/pull/345 should help kick things off. 😊

@vaetas #345 is now in `origin/develop` and @JEuler will soon make a major release, so you can start hammering your isolate ideas into the repo 🥳

> I think we should apply something like `ThreadPool`. Spam spawn Isolates can lead to Out of memory crashes. Take a look at [squadron](https://pub.dev/packages/squadron). I must say [squadron](https://github.com/d-markey/squadron) is amazing...

I wrote an [example using Squadron here](https://github.com/lejard-h/chopper/blob/develop/example/bin/main_json_serializable_squadron_worker_pool.dart).

Hmm, check if it's related to the recent update of the `http` library https://pub.dev/packages/http/changelog#0135