We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0616c94 commit 44b7d6eCopy full SHA for 44b7d6e
1 file changed
README.md
@@ -49,7 +49,7 @@ This example demonstrates parsing of an HTTP response using `deep_pick`. You can
49
50
51
// Parse a full object using a fromPick factory constructor
52
- final CounterApiStats stats = CounterApiStats.fromPick(RequiredPick(json));
+ final CounterApiStats stats = CounterApiStats.fromPick(pick(json).required());
53
54
55
// Parse lists with a fromPick constructor
0 commit comments