Skip to content

Commit f5d05a1

Browse files
notif test [nfc]: Make messages list returned by getActiveNotificationMessagingStyleByTag non-growable
Doing this better simulates real bindings behaviour.
1 parent 820b78f commit f5d05a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/model/binding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ class FakeAndroidNotificationHostApi implements AndroidNotificationHostApi {
621621
key: message.person.key,
622622
name: message.person.name,
623623
iconBitmap: null)),
624-
).toList());
624+
).toList(growable: false));
625625
}
626626
}
627627

0 commit comments

Comments
 (0)