List<String> get statePropertiesKeys { final res = <String>[]; if (stateProperties is List) { for (var item in stateProperties) { if (item is String) { res.add(item); } } } return res; }