store dto from initial apibuilder

fix existence check of pkg add
This commit is contained in:
2024-02-11 23:05:39 +01:00
parent a6e226c006
commit 9ecbc8a77a
11 changed files with 17 additions and 10 deletions

View File

@ -43,7 +43,7 @@ class _APIBuilderState<T extends BaseProvider, K, DTO>
if (widget.interval != null) {
timer = Timer.periodic(widget.interval!, (Timer t) {
Provider.of<T>(context, listen: false)
.refresh(context, dto: widget.dto);
.refresh(context);
});
}
}