Rxdart: The method 'switchMap' isn't defined for the type 'Stream'.

Created on 4 Feb 2021  路  3Comments  路  Source: ReactiveX/rxdart

In rxdart: ^0.25.0 and flutter_bloc: ^6.1.1 I have this issue with imports

question

Most helpful comment

import 'package:rxdart/rxdart.dart'

All 3 comments

please post some lines of code

@override Stream<Transition<HomeEvent, HomeState>> transformEvents( Stream<HomeEvent> events, TransitionFunction<HomeEvent, HomeState> transitionFn, ) => events.switchMap(transitionFn);

import 'package:rxdart/rxdart.dart'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

brianegan picture brianegan  路  8Comments

jonsamwell picture jonsamwell  路  4Comments

smkhalsa picture smkhalsa  路  6Comments

cedvdb picture cedvdb  路  4Comments

frank06 picture frank06  路  3Comments