fromString static method
Converte uma string para o enum correspondente
Implementation
static SyncOperation fromString(String value) {
return SyncOperation.values.firstWhere(
(operation) => operation.value == value,
orElse: () => throw ArgumentError('Operação não suportada: $value'),
);
}