isDynamic property

bool get isDynamic

Implementation

bool get isDynamic => switch (this) {
      TupleFunctionParamType type => type.types.any((type) => type.isDynamic),
      ArrayFunctionParamType type =>
        (type.isFixed && type.itemType.isDynamic == false) == false,
      DynamicFunctionParamType _ => true,
      _ => false,
    };