copyWithProxyApi method
Returns duplicated TypeDeclaration
with attached associatedProxyApi
value.
Implementation
TypeDeclaration copyWithProxyApi(AstProxyApi proxyApiDefinition) {
return TypeDeclaration(
baseName: baseName,
isNullable: isNullable,
associatedProxyApi: proxyApiDefinition,
typeArguments: typeArguments,
);
}