portal property
- @Input('portalHost')
Implementation
@Input('portalHost')
set portal(dynamic portal) {
if (hasAttached) {
detach().then((_) {
if (portal != null) {
attach(portal);
}
});
} else {
// Null signifies just detach any existing portal, do not attach anything.
if (portal != null) {
attach(portal);
}
}
}