setRequired method

void setRequired(
  1. bool value
)
inherited

Sets the required state of this.

Implementation

void setRequired(bool value) => _required = value;