clone method
Create a copy of this declaration, mainly used on class member inheritance and function arguments passing.
Implementation
@override
HTParameterDeclaration clone() {
return HTParameterDeclaration(
id: id!,
closure: closure,
declType: declType,
isVariadic: isVariadic,
isOptional: isOptional,
isNamed: isNamed,
isInitialization: isInitialization,
);
}