childrenOf method

  1. @override
DisposableFuture<List<OptionGroup<T>>> childrenOf(
  1. T? e, [
  2. Object? _
])
override

Returns the children of the parent and filter the results based of the query if supported.

Implementation

@override
DisposableFuture<List<OptionGroup<T>>> childrenOf(T? e, [_]) {
  return DisposableFuture<List<OptionGroup<T>>>.fromValue(
      _parentToChildrenMap[e!] ?? []);
}