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

Commit bc3c05e

Browse files
committed
fix example code in readme
1 parent dc7b864 commit bc3c05e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/shared_preferences/shared_preferences

packages/shared_preferences/shared_preferences/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ _incrementCounter() async {
4242
You can populate `SharedPreferences` with initial values in your tests by running this code:
4343

4444
```dart
45-
SharedPreferences.setMockInitialValues (Map<String, dynamic> values);
45+
SharedPreferences.setMockInitialValues (Map<String, Object> values);
4646
```

0 commit comments

Comments
 (0)