Skip to content

Commit ba5b411

Browse files
authored
Resolve json_serializable warning in advisories_api (#8144)
1 parent dd4ecae commit ba5b411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/_pub_shared/lib/data/advisories_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class OSV {
5454

5555
/// A list of IDs of the same vulnerability in other databases, in the form of
5656
/// the [id] field.
57-
@JsonKey(defaultValue: <String>[])
57+
@JsonKey()
5858
List<String> aliases;
5959

6060
/// A list of IDs of closely related vulnerabilities, such as the same problem

pkg/_pub_shared/lib/data/advisories_api.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)