Skip to content

Commit

Permalink
issue-167. fixed null check
Browse files Browse the repository at this point in the history
  • Loading branch information
shaark committed Dec 4, 2024
1 parent 23c62a8 commit bdbfca1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AvoidReturningWidgetsParameters {
factory AvoidReturningWidgetsParameters.fromJson(Map<String, dynamic> json) {
return AvoidReturningWidgetsParameters(
exclude: ExcludeParameters.fromJson(
excludeList: json['exclude'] as Iterable,
excludeList: json['exclude'] as Iterable? ?? [],
),
);
}
Expand Down

0 comments on commit bdbfca1

Please sign in to comment.