copyWithType method
Returns a copy of Parameter instance with new attached TypeDeclaration.
Implementation
@override
ApiField copyWithType(TypeDeclaration type) {
return ApiField(
name: name,
type: type,
offset: offset,
documentationComments: documentationComments,
isAttached: isAttached,
isStatic: isStatic,
);
}