Skip to content

Commit efda158

Browse files
authored
Fix typo that changes meaning of sentence (peak != peek) (#1046)
1 parent d2fe514 commit efda158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/generic_response_class_example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class BaseResponse<T> {
4040
} else if (json is List) {
4141
// NOTE: this logic assumes the ONLY valid value for a `List` in this case
4242
// is a List<Author>. If that assumption changes, then it will be
43-
// necessary to "peak" into non-empty lists to determine the type!
43+
// necessary to "peek" into non-empty lists to determine the type!
4444

4545
return json
4646
.map((e) => Article.fromJson(e as Map<String, dynamic>))

0 commit comments

Comments
 (0)