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 d2fe514 commit efda158Copy full SHA for efda158
example/lib/generic_response_class_example.dart
@@ -40,7 +40,7 @@ class BaseResponse<T> {
40
} else if (json is List) {
41
// NOTE: this logic assumes the ONLY valid value for a `List` in this case
42
// is a List<Author>. If that assumption changes, then it will be
43
- // necessary to "peak" into non-empty lists to determine the type!
+ // necessary to "peek" into non-empty lists to determine the type!
44
45
return json
46
.map((e) => Article.fromJson(e as Map<String, dynamic>))
0 commit comments