Skip to content

Commit b8b0a5d

Browse files
author
shaark
committed
issue-167. fixed after comments
1 parent 03122d6 commit b8b0a5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/src/lints/avoid_returning_widgets/models/avoid_returning_widgets_parameters.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ class AvoidReturningWidgetsParameters {
1515
factory AvoidReturningWidgetsParameters.fromJson(Map<String, dynamic> json) {
1616
return AvoidReturningWidgetsParameters(
1717
exclude: ExcludedIdentifiersListParameter.fromJson(
18-
excludeList:
19-
json[ExcludedIdentifiersListParameter.excludeParameterName] as Iterable? ?? [],
18+
excludeList: json[ExcludedIdentifiersListParameter.excludeParameterName]
19+
as Iterable? ??
20+
[],
2021
),
2122
);
2223
}

0 commit comments

Comments
 (0)