hasNoParameters property
bool
get
hasNoParameters
Returns true
if this methods has no arguments/parameters.
Implementation
bool get hasNoParameters =>
normalParameters.isEmpty &&
optionalParameters.isEmpty &&
namedParameters.isEmpty;