FutureService<T> constructor

FutureService<T>(
  1. InheritedWidget widget, {
  2. required Future<T> future,
  3. T? initialValue,
})

Implementation

FutureService(super.widget, {required Future<T> future, T? initialValue})
    : _future = future,
      _value = initialValue;