New
v1.0.0
- Migrate to Dart 2.
- BREAKING CHANGE: The
onmethod now has a generic type. The type must be passed as a type argument instead of a method parameter. ChangemyEventBus.on(MyEventType)tomyEventBus.on<MyEventType>(). - BREAKING CHANGE: Every
EventBusis now hierarchical so that listeners will also receive events of subtypes of the specified type. This is exactly the way thatHierarchicalEventBusworked. SoHierarchicalEventBushas been removed. Use the normalEventBusinstead.