register method Null safety

void register()

Installs this object as a mock handler for SystemChannels.textInput.

Called by the binding at the top of a test when TestWidgetsFlutterBinding.registerTestTextInput is true.

Implementation

void register() => SystemChannels.textInput.setMockMethodCallHandler(_handleTextInputCall);