getAttributes method

  1. @override
Future<Map<String, String>> getAttributes(
  1. int nodeId
)
override

Implementation

@override
Future<Map<String, String>> getAttributes(int nodeId) async {
  Map<String, String> attributes = await _dom.getAttributes(nodeId);
  var node = _getOrCreateNode(nodeId);
  node._attributes = Map.from(attributes);
  return attributes;
}