attach method
Future<Map<String, dynamic> ?>
attach(
- PortalHost? host, [
- Map<
String, dynamic> locals = const {}
override
Attach to the host
, optionally with locals
specific to this instance.
Implementation
@override
Future<Map<String, dynamic>?> attach(PortalHost? host,
[Map<String, dynamic> locals = const {}]) {
_locals = locals;
return super.attach(host).then((value) => value as Map<String, dynamic>?);
}