init method
Initialize the VDOM API with a platform interface
Implementation
Future<void> init(PlatformInterface platformInterface) async {
try {
_vdom = VDom(platformInterface);
await _vdom.isReady;
_readyCompleter.complete();
} catch (e) {
_readyCompleter.completeError(e);
rethrow;
}
}