domEventIsComposing function
Whether a keyboard event is still confirming an input-method composition.
Implementation
bool domEventIsComposing(Object? event) {
final JSObject? object = event as JSObject?;
return (object?.getProperty<JSAny?>('isComposing'.toJS) as JSBoolean?)
?.toDart ??
false;
}