link property Null safety
The link to the LeaderLayer.
The same object should be provided to a LeaderLayer that is earlier in the layer tree. When this layer is composited, it will apply a transform that moves its children to match the position of the LeaderLayer.
Implementation
LayerLink get link => _link;
Implementation
set link(LayerLink value) {
assert(value != null);
_link = value;
}