feat: Adding a New Line to an Existing Class
Đang mở
- Ngôn ngữ chính
- Dart
- Star
- 1.1k
- Fork
- 113
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.