DoNothingAction constructor Null safety

DoNothingAction(
  1. {bool consumesKey = true}
)

Creates a DoNothingAction.

The optional consumesKey argument defaults to true.

Implementation

DoNothingAction({bool consumesKey = true}) : _consumesKey = consumesKey;