routeOrUnknown method

FlowerPage routeOrUnknown(
  1. FlowerPage onUnknow
)

Implementation

FlowerPage routeOrUnknown(FlowerPage onUnknow) =>
    currentTreeBranch.isEmpty ? onUnknow : currentTreeBranch.last;