createPortal method
Create a portal container with the specified ID and properties
Implementation
Future<String> createPortal(String portalId, {
String? parentViewId,
Map<String, dynamic>? props,
int? index,
}) async {
await isReady;
return _vdom.createPortal(portalId,
parentViewId: parentViewId ?? 'root',
props: props ?? {},
index: index ?? 0);
}