attach abstract method

Future attach(
  1. Portal<Object?> portal
)

Attaches portal.

Returns a future that completes when portal is attached with the context of the instantiated view. For components, this is an instance of the component. For views, it is a Map of locals.

When possible, prefer using Portal.attach, as it returns a typed result instead of dynamic.

Implementation

Future<dynamic /*ComponentRef<Object> | Map<String, dynamic>*/ > attach(
    Portal<Object?> portal);