link method

UvBorder link(
  1. Link link
)

Returns a new UvBorder with link applied to all sides.

Upstream: UvBorder.Link.

Implementation

UvBorder link(Link link) => UvBorder(
  top: top.copyWith(link: link),
  bottom: bottom.copyWith(link: link),
  left: left.copyWith(link: link),
  right: right.copyWith(link: link),
  topLeft: topLeft.copyWith(link: link),
  topRight: topRight.copyWith(link: link),
  bottomLeft: bottomLeft.copyWith(link: link),
  bottomRight: bottomRight.copyWith(link: link),
);