alexobviously / alexobviously/secretary
Result not found
- Ngôn ngữ chính
- Dart
- Star
- 13
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I'm having trouble updating the package from version 1.1.0 to version 1.2.0.
I get this error
The name 'Result' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'Result'.dart non_type_as_type_argument
If I go back to version 1.1.0, everything is fine.
flutter_doctor shows that everything is fine.
What would be the way to replace this code with the new version:
```
late final Secretary>? uploadSec;
late final Secretary>? saveSec;
uploadSec = Secretary>(
maxAttempts: 1,
maxConcurrentTasks: 1,
validator: Validators.resultOk,
);
uploadSec!.resultStream.listen((resp) {
if (resp.object != null) {
successTasks.add(resp.object!);
}
});
```
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á.