Skip to content

Commit e9e2088

Browse files
feat: Bump flutter_lints from 4.0.0 to 6.0.0 in /packages/flutter (#1061)
1 parent 6754838 commit e9e2088

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/flutter/lib/src/notification/parse_notification.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

packages/flutter/lib/src/push/parse_push.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

packages/flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)