Registrar constructor Null safety

Registrar(
  1. [@Deprecated('This argument is ignored. ' 'This feature was deprecated after v1.24.0-7.0.pre.') BinaryMessenger? binaryMessenger]
)

Creates a Registrar.

The argument is ignored. To create a test Registrar with custom behavior, subclass the Registrar class and override methods as appropriate.

Implementation

Registrar([
  @Deprecated(
    'This argument is ignored. '
    'This feature was deprecated after v1.24.0-7.0.pre.'
  )
  BinaryMessenger? binaryMessenger,
]);