Skip to content

Commit

Permalink
v0.6.1 — Fixed Event Firing
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlessenich committed Feb 29, 2024
1 parent 2a2dfcd commit 3322599
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.1
- Fixed `RestrrEventHandler#fire`

## 0.6
- Added `RestrrBuilder#on` & `Restrr#on`
- Added `ReadyEvent` & `RequestEvent`
Expand Down
2 changes: 1 addition & 1 deletion lib/src/events/event_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class RestrrEventHandler {
}

void fire<T extends RestrrEvent>(T event) {
eventMap[T.runtimeType]?.call(event);
eventMap[event.runtimeType]?.call(event);
}
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: restrr
description: Dart package which allows to communicate with the financrr REST API.
version: 0.6.0
version: 0.6.1
repository: https://github.com/financrr/restrr

environment:
Expand Down

0 comments on commit 3322599

Please sign in to comment.