fromString static method
Implementation
static CSDocsExitReasons fromString(String value) {
return CSDocsExitReasons.values.firstWhere(
(e) => e.value == value,
orElse: () => throw ArgumentError('Invalid exit reason: $value'),
);
}
static CSDocsExitReasons fromString(String value) {
return CSDocsExitReasons.values.firstWhere(
(e) => e.value == value,
orElse: () => throw ArgumentError('Invalid exit reason: $value'),
);
}