isRequired property Null safety

bool isRequired

Determines if the request body is required in the request.

Defaults to false.

Implementation

bool get isRequired => _required ?? false;
void isRequired=(bool f)

Implementation

set isRequired(bool f) {
  _required = f;
}