mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Mark Firebase’s previousChildName as optional since it will be null for the first item
This commit is contained in:
parent
4907b64263
commit
bada290904
@ -36,9 +36,9 @@ interface ValueEventListener {
|
||||
|
||||
interface ChildEventListener {
|
||||
OnCancelled(Error error);
|
||||
OnChildAdded(DataSnapshot snapshot, string previousChildName);
|
||||
OnChildChanged(DataSnapshot snapshot, string previousChildName);
|
||||
OnChildMoved(DataSnapshot snapshot, string previousChildName);
|
||||
OnChildAdded(DataSnapshot snapshot, string? previousChildName);
|
||||
OnChildChanged(DataSnapshot snapshot, string? previousChildName);
|
||||
OnChildMoved(DataSnapshot snapshot, string? previousChildName);
|
||||
OnChildRemoved(DataSnapshot snapshot);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user