binaryMessenger property Null safety

BinaryMessenger binaryMessenger

The messenger used by this channel to send platform messages, not null.

Implementation

BinaryMessenger get binaryMessenger => _binaryMessenger ?? ServicesBinding.instance!.defaultBinaryMessenger;