fromValue static method
Implementation
static AttachmentType? fromValue(String value) {
try {
return AttachmentType.values.firstWhere((e) => e.value == value);
} catch (_) {
return null;
}
}
static AttachmentType? fromValue(String value) {
try {
return AttachmentType.values.firstWhere((e) => e.value == value);
} catch (_) {
return null;
}
}