getParent method

  1. @override
T? getParent(
  1. T? child
)
override

Returns the parent of the given value

Implementation

@override
T? getParent(T? child) {
  return _itemsOptions[child!]?.parent;
}