We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7366ed commit e086620Copy full SHA for e086620
lib/src/models/push_notification/firebase_request_body.dart
@@ -1,3 +1,4 @@
1
+import 'package:core/core.dart';
2
import 'package:equatable/equatable.dart';
3
import 'package:json_annotation/json_annotation.dart';
4
@@ -41,7 +42,7 @@ class FirebaseMessage extends Equatable {
41
42
final FirebaseNotification notification;
43
44
/// The custom data payload.
- final Map<String, dynamic> data;
45
+ final PushNotificationPayload data;
46
47
/// Converts this [FirebaseMessage] instance to a JSON map.
48
Map<String, dynamic> toJson() => _$FirebaseMessageToJson(this);
0 commit comments