getTip method

ArrowTip getTip()

Implementation

ArrowTip getTip() {
  var tips = getTips().submobjects;
  if (tips.isEmpty) {
    throw 'Tip not found';
  } else {
    return tips.first as ArrowTip;
  }
}