fromJS static method

UIEvent fromJS(
  1. JSString value
)

Implementation

static UIEvent fromJS(JSString value) {
  var dartValue = value.toDart;
  return values.firstWhere((e) => e.value == dartValue);
}