requiredParametersLength property

int get requiredParametersLength

Returns the amount of required parameters.

Implementation

int get requiredParametersLength =>
    normalParameters.length +
    namedParameters.values.where((p) => p.required).length;