Pascal Welsch
Pascal Welsch
I had trouble getting errors reported. Synchronous errors where caught but not asynchronous ones. The problem was that `WidgetsFlutterBinding.ensureInitialized()` was called outside of the error catching zone. ```dart // doesn't...
Currently, it is not possible to hide individual extension function which conflict with extensions of other packages. It's only possible to hide a whole "extension groups" such as `IterableExtension`, but...
```dart var abc = mutableListOf(["a", "b", "c"]); final KMutableIterator i = abc.iterator(); assert(i.next() == "a"); i.remove(); assert(abc[0] == "b"); // Failed assertion: 'abc[0] == "b"': is not true. ``` `abc[0]`...
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/sum-of.html
https://kotlinlang.org/docs/whatsnew15.html#new-collections-function-firstnotnullof
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/scan.html
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/running-fold.html
`KMutableEntry.setValue` doesn't change the underlying collection. Here is a valid test which is currently failing ```dart final pokemon = mutableMapOf({ 1: "Bulbasaur", 2: "Ivysaur", }); pokemon.entries.forEach((entry) { entry.setValue(entry.value.toUpperCase()); }); //...
The current output of `logError` in console is hard to scan. ``` flutter: [ERROR] { exception: An error occured, stacktrace: #0 Auth0Authentication.refreshLogin. (package:my_app/authenticate/auth0_authentication.dart:168:11) #1 Auth0Authentication.refreshLogin. (package:my_app/authenticate/auth0_authentication.dart) #2 Auth0Authentication.refreshLogin (package:my_app/authenticate/auth0_authentication.dart:172:6) #3...
Since this plugin is pure dart code which doesn't require native code, both `ios` and `android` can be removed.