className property Null safety

String className

Implementation

String get className {
  final result = attributes['class'];
  return result ?? '';
}
void className=(String value)

Implementation

set className(String value) {
  attributes['class'] = '$value';
}