Post an event of eventKind
with payload of eventData
to the Extension
event stream.
void postEvent(String eventKind, Map eventData) { ArgumentError.checkNotNull(eventKind, 'eventKind'); ArgumentError.checkNotNull(eventData, 'eventData'); String eventDataAsString = json.encode(eventData); _postEvent(eventKind, eventDataAsString); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-developer/postEvent.html