Component({required this.room, Map<String, Type>? schema}) { if (schema != null) { _schema.addAll(schema); } }