Gets the value of a state set using saveState
String? getState(String name) => Platform.environment['STATE_$name'];