setMethodChannel method

void setMethodChannel(
  1. String id
)

Implementation

void setMethodChannel(String id) {
  _methodChannel =
      new MethodChannel(Channel.animationChannel + "_" + animationId);
  _methodChannel.setMethodCallHandler(_multiMethodCallHandler);
}