}).catchError((Exception error) {
has to be
}).catchError((Object error) {
You can’t limit to Exception
here. Dart can throw all kinds of values.
}).catchError((Exception error) {
has to be
}).catchError((Object error) {
You can’t limit to Exception
here. Dart can throw all kinds of values.