doSetup static method

Future<int> doSetup()

Implementation

static Future<int> doSetup() async {
  await _channel.invokeMethod('setupAssetManager');
  nRegisterPostCObject(NativeApi.postCObject);

  return singleResponseFuture<int>((port) => nSetupEngine(port.nativePort));
}