LowerBound<T>.from constructor

LowerBound<T>.from(
  1. Bound<T>? bound
)

Implementation

factory LowerBound.from(Bound<T>? bound) {
  if (bound is EmptyBound<T>) {
    return EmptyBound<T>();
  }
  return LowerBound(
    type: bound?.type ?? BoundType.unbounded,
    value: bound?.value,
  );
}