Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ParseNotification {
final void Function(String value) onShowNotification;

/// Show notification
void showNotification(title) {
void showNotification(String title) {
onShowNotification.call(title);
}
}
6 changes: 3 additions & 3 deletions packages/flutter/lib/src/push/parse_push.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ParsePush {

/// Initialize ParsePush; for web a [vapidKey] is required.
Future<void> initialize(
firebaseMessaging, {
dynamic firebaseMessaging, {
String? vapidKey,
required ParseNotification parseNotification,
}) async {
Expand All @@ -39,7 +39,7 @@ class ParsePush {
}

/// Handle push notification message
void onMessage(message) {
void onMessage(dynamic message) {
String pushId = message.data["push_id"] ?? "";
String timestamp = message.data["time"] ?? "";
String dataString = message.data["data"] ?? "";
Expand Down Expand Up @@ -86,7 +86,7 @@ class ParsePush {
await parseInstallation.unsubscribeFromChannel(value);
}

/// Returns an <List<String>> containing all the channel names this device is subscribed to
/// Returns a `List<String>` containing all the channel names this device is subscribed to
Future<List<dynamic>> getSubscribedChannels() async {
sdk.ParseInstallation parseInstallation =
await sdk.ParseInstallation.currentInstallation();
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^4.0.0
flutter_lints: ">=4.0.0 <7.0.0"
path_provider_platform_interface: ^2.1.2
plugin_platform_interface: ^2.1.8

Expand Down