createBinaryMessenger method Null safety

  1. @override
TestDefaultBinaryMessenger createBinaryMessenger()
override

Creates a default BinaryMessenger instance that can be used for sending platform messages.

Implementation

@override
TestDefaultBinaryMessenger createBinaryMessenger() {
  return TestDefaultBinaryMessenger(super.createBinaryMessenger());
}