ObservableSet<T>.splayTreeSetFrom constructor

ObservableSet<T>.splayTreeSetFrom(
  1. Iterable<T> other, {
  2. int compare(
    1. T,
    2. T
    )?,
  3. bool isValidKey(
    1. dynamic
    )?,
  4. ReactiveContext? context,
  5. String? name,
})

Implementation

ObservableSet.splayTreeSetFrom(
  Iterable<T> other, {
  int Function(T, T)? compare,
  // ignore:avoid_annotating_with_dynamic
  bool Function(dynamic)? isValidKey,
  ReactiveContext? context,
  String? name,
}) : this._(
       context ?? mainContext,
       SplayTreeSet.of(other, compare, isValidKey),
       name,
     );