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