feat: Adding a New Line to an Existing Class
Abierto
- Lenguaje dominante
- Dart
- Estrellas
- 1.1k
- Forks
- 113
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Description:
I have the following class in my codebase:
```dart
class Routes {
static Future get initialRoute async {
try {
return login;
} catch (err) {
return login;
}
}
static const login = '/login';
static const home = '/home';
}
```
I need to append an additional line of code inside this class, specifically after the last line (`static const home`). Currently, I am considering using hooks, but it seems overly complicated for such a simple addition. Is there an easier way to accomplish this task without introducing unnecessary complexity?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.