findByClass

JSAny? findByClass(

  1. String className
)

Finds a single DOM element with the given class name. Throws if zero or more than one element is found.

Implementation

JSAny? findByClass(String className) =>
    _findRenderedDOMComponentWithClass(_container, className);