Eugene Kuleshov

Results 44 comments of Eugene Kuleshov

With these changes the example app is crashing a lot on Android 12 device with errors like: ``` D/bonsoir (31569): [66895] Bonsoir failed to start discovery : 4 E/AndroidRuntime(31569): FATAL...

I also find myself wrapping every rest client method call into something like this: `_restClient.apiMethodCall(...).catchError((ex) => errorHandler(ex));` That is a lot of boiler plate code and the same `errorHandler` is...

> That might be generally useful, but doesn't actually help convert responses into custom MyApiExceptions internally But it does. That is all I'm doing in my current boiler plate code...

Have you missed `this.onError` in the constructor? The `@wrapper` specification will likely going to be prohibitive due to types mismatch. It doesn't specify parameters or return types and `Future` is...

@TekExplorer all I'm saying your examples are incomplete and it is unclear (at least to me) how implementation can be wired together for them. You have declaration for the rest...

@TekExplorer you said you want to do "multi step handlers" or perhaps have access to the rest method parameters in your wrapper, but your example does not reflect any of...

> @ekuleshov Please check [this](https://github.com/flutter/flutter/issues/136886#issuecomment-1781620302) and see if it helps in your case or not. Essentially that is the same issue looked from a different angle. But the solution I'm...

Right. At the end of the linked article and in SO answers there is a variant based on Bezier curve too

Thank you. If you could add `ArchiveFile.closeSync()` that would be great too... On a side note, I'm somewhat puzzled what is the most performant way to zip bunch of files...

> File streaming will always be slower than just reading all the bytes into memory. File IO is particularly slow, especially with Dart. The problem is that big files take...