[SYNC]
This commit is contained in:
@@ -128,7 +128,7 @@ class _AstromicFuturePresenterState<T> extends State<AstromicFuturePresenter<T>>
|
||||
|
||||
//S1 -- Method to reinitialize or update `_future` with a new instance
|
||||
void _initializeFuture() {
|
||||
_future = widget.controller.getFuture<T?>(widget.id)?.then((result) => result);
|
||||
_future = widget.controller.getFuture(widget.id)?.then((dynamic result) => result as T?);
|
||||
}
|
||||
//!SECTION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user