ValueState<T>.activation constructor

ValueState<T>.activation({
  1. T? activated,
  2. T? unactivated,
  3. T? disabled,
})

Implementation

factory ValueState.activation({
  T? activated,
  T? unactivated,
  T? disabled,
}) {
  return ValueState<T>(
    primary: unactivated,
    secondary: activated,
    disable: disabled,
  );
}