register method

void register ()

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

Implementation

void register() {
  SystemChannels.textInput.setMockMethodCallHandler(_handleTextInputCall);
  _isRegistered = true;
}