fromJS static method

WindowState fromJS(
  1. String value
)

Implementation

static WindowState fromJS(String value) =>
    values.firstWhere((e) => e.value == value);