Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1bcd591

Browse files
committed
Merge pull request #2309 from collinjackson/optional
Mark Firebase’s previousChildName as optional since it will be null for the first item
2 parents bc10baf + bada290 commit 1bcd591

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sky/services/firebase/firebase.mojom

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ interface ValueEventListener {
3636

3737
interface ChildEventListener {
3838
OnCancelled(Error error);
39-
OnChildAdded(DataSnapshot snapshot, string previousChildName);
40-
OnChildChanged(DataSnapshot snapshot, string previousChildName);
41-
OnChildMoved(DataSnapshot snapshot, string previousChildName);
39+
OnChildAdded(DataSnapshot snapshot, string? previousChildName);
40+
OnChildChanged(DataSnapshot snapshot, string? previousChildName);
41+
OnChildMoved(DataSnapshot snapshot, string? previousChildName);
4242
OnChildRemoved(DataSnapshot snapshot);
4343
};
4444

0 commit comments

Comments
 (0)