FeatureStateUpdate.fromJson(Map<String, dynamic>? json) { fromJson(json); // allows child classes to call }