Skip to content

Commit

Permalink
add keepSync override
Browse files Browse the repository at this point in the history
  • Loading branch information
TeppeiKurahashi authored and sitatec committed Sep 1, 2024
1 parent 805b61f commit 16a6007
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/mock_database_reference.dart
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ class MockDatabaseReference extends Mock implements DatabaseReference {

@override
Future<void> remove() => set(null);

@override
Future<void> keepSynced(bool value) async {
//Do nothing
}
}

// Map<String, dynamic> _makeSupportGenericValue(Map<String, dynamic> data) {
Expand Down

0 comments on commit 16a6007

Please sign in to comment.