emit method Null safety

Future<void> emit(
  1. String key,
  2. String from,
  3. dynamic data
)

Emit data to the window identified by the given key.

The from should default to the current window's key. data can be anything as long as it is a Dart standart data type.

Implementation

Future<void> emit(String key, String from, dynamic data);