className property

String get className

Returns the class attribute value

Implementation

String get className => attributes?['class'] ?? '';
set className (String value)

Sets the class attribute value

Implementation

set className(String value) => attributes?['class'] = value;