dispatchMediaKeyEvent method Null safety

Future<void> dispatchMediaKeyEvent(
  1. AndroidKeyEvent keyEvent
)

(UNTESTED) Requires API level 19

Implementation

Future<void> dispatchMediaKeyEvent(AndroidKeyEvent keyEvent) async {
  await _channel.invokeMethod('dispatchMediaKeyEvent', [keyEvent._toMap()]);
}