operator [] method

  1. @override
String? operator [](
  1. String name
)

Gets an attribute value by name.

Returns null if attribute does not exist.

Implementation

@override
String? operator [](String name) => _element.attributes[name];