postMessage method

  1. @override
void postMessage(
  1. dynamic message, [
  2. List? transfer
])
override

Implementation

@override
void postMessage(dynamic message, [List<dynamic>? transfer]) {
  List args = [message];
  if (transfer != null) args.add(transfer);
  _callMethod(_delegate, 'postMessage', args);
}