getAttribute method Null safety

String? getAttribute(
  1. String name,
  2. {String? namespace}
)
inherited

Return the attribute value with the given name, or null.

Implementation

String? getAttribute(String name, {String? namespace}) => null;