register method
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() => TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler(SystemChannels.textInput, _handleTextInputCall);