binaryMessenger property Null safety

BinaryMessenger binaryMessenger

The messenger which sends the bytes for this channel, not null.

Implementation

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