from static method

PresentationFit? from(
  1. String? value
)

Implementation

static PresentationFit? from(String? value) =>
    _values.firstOrNullWhere((element) => element.value == value);