copyWithTypeArguments method
Returns duplicated TypeDeclaration
with attached associatedProxyApi
value.
Implementation
TypeDeclaration copyWithTypeArguments(List<TypeDeclaration> types) {
return TypeDeclaration(
baseName: baseName,
isNullable: isNullable,
typeArguments: types,
associatedClass: associatedClass,
associatedEnum: associatedEnum,
associatedProxyApi: associatedProxyApi,
);
}