RequestFocusIntent constructor Null safety

const RequestFocusIntent(
  1. FocusNode focusNode
)

Creates an intent used with RequestFocusAction.

The argument must not be null.

Implementation

const RequestFocusIntent(this.focusNode)
    : assert(focusNode != null);