fromName static method

StarXpandPrinterModel fromName(
  1. String name
)

Implementation

static StarXpandPrinterModel fromName(String name) =>
    StarXpandPrinterModel.values.where((e) => e.name == name).first;