signal method

dynamic signal([
  1. T? value
])

Implementation

signal([T? value]) {
  _controller.add(value != null ? value : EventArgs.empty as T?);
}