menu
sunny_dart package
documentation
extensions/iterable_stream_extensions.dart
SafeStreamController<X>
safeAdd method
safeAdd method
dark_mode
light_mode
safeAdd
method
void
safeAdd
(
X
item
)
Implementation
void safeAdd(X item) { if (!this.isClosed) { this.add(item); } }
sunny_dart package
documentation
extensions/iterable_stream_extensions
SafeStreamController<X>
safeAdd method
SafeStreamController extension on
StreamController
<
X
>