fromValue static method

ListingConfigVersion fromValue(
  1. int? value
)

Implementation

static ListingConfigVersion fromValue(int? value) {
  return values.firstWhere(
    (element) => element.value == value,
    orElse: () => throw MessageException(
        "No ListingConfigVersion found matching the specified value",
        details: {"value": value}),
  );
}