copyLinkProperties method

void copyLinkProperties(
  1. Link templink, [
  2. Link? reallink
])

Make a temporary link look and act like the real Link being relinked. By default this method copies many of the routing-oriented properties from the LinkingBaseTool#originalLink to the LinkingBaseTool#temporaryLink.

This method may be overridden, but we recommend that you call this base method. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

Implementation

void copyLinkProperties(
  _i3.Link templink, [
  _i3.Link? reallink,
]) {
  _i4.callMethod(
    this,
    'copyLinkProperties',
    [
      reallink ?? _i5.undefined,
      templink,
    ],
  );
}