Skip to content

Commit

Permalink
removes nullability * from getDisplayString. Fixes Workiva#159
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerCornish committed Nov 14, 2021
1 parent d3e49b7 commit e3a9df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ActionsClass _actionsClassFromElement(ClassElement element) => ActionsClass(
Iterable<ComposedActionClass> _composedActionClasses(ClassElement element) =>
element.fields.where((f) => _isReduxActions(f.type.element)).map((f) =>
ComposedActionClass(
f.name, f.type.getDisplayString(withNullability: true)));
f.name, f.type.getDisplayString(withNullability: false)));

Iterable<Action> _actionsFromElement(ClassElement element) => element.fields
.where(_isActionDispatcher)
Expand Down

0 comments on commit e3a9df6

Please sign in to comment.