Compiler message:
lib/bloc/player_listing_bloc.dart:16:46: Error: The argument type 'Duration' can't be assigned to the parameter type 'Stream<dynamic> Function(PlayerListingEvent)'.
- 'Duration' is from 'dart:core'.
- 'Stream' is from 'dart:async'.
- 'PlayerListingEvent' is from 'package:bloc_implementation/bloc/player_listing_events.dart' ('lib/bloc/player_listing_events.dart').
Try changing the type of the parameter, or casting the argument to 'Stream<dynamic> Function(PlayerListingEvent)'.
.transform(DebounceStreamTransformer(Duration(milliseconds: 250)));
^
file:///C:/Users/mahdi/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/bloc-0.8.4/lib/src/bloc.dart:24:44: Error: No named parameter with the name 'seedValue'.
_stateSubject = BehaviorSubject<State>(seedValue: initialState);
^^^^^^^^^
file:///C:/Users/mahdi/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/rxdart-0.22.0/lib/src/subjects/behavior_subject.dart:49:11: Context: Found this candidate, but the arguments don't match.
factory BehaviorSubject({
^