isRequired property

bool get isRequired

Return true if this parameter is a required parameter.

Required parameters can either be positional or named.

Note: this will return false for a named parameter that is annotated with the @required annotation.

Implementation

bool get isRequired;