modify method
dynamic modify(Helper method used to modify the set of css classes on this element.
f - callback with: s - a Set of all the css class name currently on this element.
After f returns, the modified set is written to the className property of this element.
Source
modify(f(Set<String> s)) { Set<String> s = readClasses(); var ret = f(s); writeClasses(s); return ret; }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-svg/AttributeClassSet/modify.html