init static method
Future<YPayPlatformViewStateController>
init(
- int id,
- String viewType, {
- YPayPlatformViewStateControllerCallHandler? callHandler,
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);
}