File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class ParseNotification {
77 final void Function (String value) onShowNotification;
88
99 /// Show notification
10- void showNotification (title) {
10+ void showNotification (String title) {
1111 onShowNotification.call (title);
1212 }
1313}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ParsePush {
1717
1818 /// Initialize ParsePush; for web a [vapidKey] is required.
1919 Future <void > initialize (
20- firebaseMessaging, {
20+ dynamic firebaseMessaging, {
2121 String ? vapidKey,
2222 required ParseNotification parseNotification,
2323 }) async {
@@ -39,7 +39,7 @@ class ParsePush {
3939 }
4040
4141 /// Handle push notification message
42- void onMessage (message) {
42+ void onMessage (dynamic message) {
4343 String pushId = message.data["push_id" ] ?? "" ;
4444 String timestamp = message.data["time" ] ?? "" ;
4545 String dataString = message.data["data" ] ?? "" ;
@@ -86,7 +86,7 @@ class ParsePush {
8686 await parseInstallation.unsubscribeFromChannel (value);
8787 }
8888
89- /// Returns an < List<String>> containing all the channel names this device is subscribed to
89+ /// Returns a ` List<String>` containing all the channel names this device is subscribed to
9090 Future <List <dynamic >> getSubscribedChannels () async {
9191 sdk.ParseInstallation parseInstallation =
9292 await sdk.ParseInstallation .currentInstallation ();
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ dev_dependencies:
4747 flutter_test :
4848 sdk : flutter
4949
50- flutter_lints : ^ 4.0.0
50+ flutter_lints : " >= 4.0.0 <7.0.0 "
5151 path_provider_platform_interface : ^2.1.2
5252 plugin_platform_interface : ^2.1.8
5353
You can’t perform that action at this time.
0 commit comments