hasNoParameters property

bool hasNoParameters

Returns true if this methods has no arguments/parameters.

Implementation

bool get hasNoParameters =>
    normalParameters.isEmpty &&
    optionalParameters.isEmpty &&
    namedParameters.isEmpty;