DevicePickerDisplayStatusOptions.from constructor

DevicePickerDisplayStatusOptions.from(
  1. int value
)

Implementation

factory DevicePickerDisplayStatusOptions.from(int value) =>
    DevicePickerDisplayStatusOptions.values.firstWhere(
        (e) => e.value == value,
        orElse: () => DevicePickerDisplayStatusOptions(value));