attachMethodCallHandler method

void attachMethodCallHandler()

Makes this instance the app_intents channel's receiver again.

Each instance takes the channel over when constructed, so after a newer one (such as the one AppIntentsHarness installs) is done, the older one receives nothing until this is called.

Implementation

void attachMethodCallHandler() =>
    methodChannel.setMethodCallHandler(_handleMethodCall);