init static method

Future<UnityWidgetController> init(
  1. int id,
  2. dynamic unityWidgetState
)

Initialize UnityWidgetController with id Mainly for internal use when instantiating a UnityWidgetController passed in UnityWidget.onUnityCreated callback.

Implementation

static Future<UnityWidgetController> init(
    int id, dynamic unityWidgetState) async {
  throw UnimplementedError('init() has not been implemented.');
}