createBinaryMessenger method Null safety

  1. @protected
BinaryMessenger createBinaryMessenger()

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

Implementation

@protected
BinaryMessenger createBinaryMessenger() {
  return const _DefaultBinaryMessenger._();
}