click method Null safety

Future<void> click(
  1. [MediaButton button = MediaButton.media]
)

Process a headset button click, where button defaults to MediaButton.media.

Implementation

Future<void> click([MediaButton button = MediaButton.media]);