getState<T> method
Get current state value
Implementation
T? getState<T>(String key) {
final controller = Air().debugStates[key];
if (controller == null) return null;
return controller.value as T?;
}
Get current state value
T? getState<T>(String key) {
final controller = Air().debugStates[key];
if (controller == null) return null;
return controller.value as T?;
}