init static method

Implementation

static Future<YPayPlatformViewStateController> init(int id, String viewType,
    {YPayPlatformViewStateControllerCallHandler? callHandler}) async {
  final methodChannel = MethodChannel('com.yandex.pay.flutter_channel/${viewType}_$id');
  await methodChannel.invokeMethod('waitForInit');

  ///??

  return YPayPlatformViewStateController._(methodChannel, callHandler: callHandler);
}