OptionalListIO<T> constructor

OptionalListIO<T>({
  1. List<T>? seedValue,
  2. required String semantics,
  3. bool sync = true,
  4. bool isBehavior = true,
  5. bool acceptEmpty = true,
  6. bool isDistinct = false,
  7. bool printLog = true,
  8. int? forceCapacity,
  9. FetchCallback<List<T>, dynamic>? fetch,
  10. bool isSame(
    1. List<T>?,
    2. List<T>?
    )?,
  11. List<T>? onReset()?,
  12. PersistConfig<List<T>?>? persistConfig,
})

Implementation

OptionalListIO({
  super.seedValue,
  required super.semantics,
  super.sync,
  super.isBehavior,
  super.acceptEmpty,
  super.isDistinct,
  super.printLog,
  int? forceCapacity,
  FetchCallback<List<T>, dynamic>? super.fetch,
  bool Function(List<T>?, List<T>?)? isSame,
  super.onReset,
  super.persistConfig,
}) : super(
        isSame: isSame ?? listEquals,
      ) {
  _forceCapacity = forceCapacity;
}