Skip to content

Commit

Permalink
notif test [nfc]: Make messages list returned by `getActiveNotificati…
Browse files Browse the repository at this point in the history
…onMessagingStyleByTag` non-growable

Doing this better simulates real bindings behaviour.
  • Loading branch information
rajveermalviya committed Aug 16, 2024
1 parent c77867d commit 65f9094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/model/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ class FakeAndroidNotificationHostApi implements AndroidNotificationHostApi {
key: message.person.key,
name: message.person.name,
iconBitmap: null)),
).toList());
).toList(growable: false));
}
}

Expand Down

0 comments on commit 65f9094

Please sign in to comment.