fromString static method
Implementation
static BarcodeFormat fromString(String name) {
return BarcodeFormat.values.firstWhere(
(format) => format.name == name,
orElse: () => BarcodeFormat.unknown,
);
}
static BarcodeFormat fromString(String name) {
return BarcodeFormat.values.firstWhere(
(format) => format.name == name,
orElse: () => BarcodeFormat.unknown,
);
}