mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-29 17:21:19 +08:00
Upgrade to flutter_rust_bridge V2
This commit is contained in:
@ -112,8 +112,9 @@ class BaseUIModel extends ChangeNotifier {
|
||||
return _childUIProviders![modelKey]!;
|
||||
}
|
||||
|
||||
T? getCreatedChildUIModel<T extends BaseUIModel>(String modelKey,{bool create = false}) {
|
||||
if (create && _childUIModels?[modelKey] == null) {
|
||||
T? getCreatedChildUIModel<T extends BaseUIModel>(String modelKey,
|
||||
{bool create = false}) {
|
||||
if (create && _childUIModels?[modelKey] == null) {
|
||||
_getChildUIModel(modelKey);
|
||||
}
|
||||
return _childUIModels?[modelKey] as T?;
|
||||
|
Reference in New Issue
Block a user