JavascriptChannel constructor
JavascriptChannel({
- required String name,
- ValueChanged<
String> ? onMessageReceived, - String? source,
Implementation
JavascriptChannel({required this.name, this.onMessageReceived, this.source})
: assert(_validChannelNames.hasMatch(name));