mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
7 lines
178 B
Dart
7 lines
178 B
Dart
import 'package:rxdart/rxdart.dart';
|
|
|
|
extension BehaviorSubjectExtension<T> on BehaviorSubject<T> {
|
|
void addWithValue(T Function(T value) adder) {
|
|
add(adder(value));
|
|
}
|
|
}
|