ConnectionChangedCallback typedef Null safety

Future<void> ConnectionChangedCallback(
  1. TestDeviceCommunicator communicator,
  2. bool connected
)

Implementation

typedef ConnectionChangedCallback = Future<void> Function(
  TestDeviceCommunicator communicator,
  bool connected,
);