TestDefaultBinaryMessenger constructor

TestDefaultBinaryMessenger(
  1. BinaryMessenger delegate, {
  2. Map<String, MessageHandler> outboundHandlers = const <String, MessageHandler>{},
})

Creates a TestDefaultBinaryMessenger instance.

Implementation

TestDefaultBinaryMessenger(
  this.delegate, {
  Map<String, MessageHandler> outboundHandlers = const <String, MessageHandler>{},
}) {
  _outboundHandlers.addAll(outboundHandlers);
}