attach method

  1. @override
Future<Map<String, dynamic>?> attach(
  1. PortalHost? host, [
  2. 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>?);
}