domCheckedValue function
Read the checked state of a checkbox/radio from a DOM event target (web).
Implementation
bool domCheckedValue(Object? target) {
final JSObject? obj = target as JSObject?;
final JSAny? v = obj?.getProperty<JSAny?>('checked'.toJS);
return (v as JSBoolean?)?.toDart ?? false;
}