ModelsConfig constructor
ModelsConfig({
- Map<
String, MediaSlotModelConfig> ? slots, - Map<
String, CustomModelDefinition> ? custom,
Creates an empty (or pre-populated) models config.
Implementation
ModelsConfig({
Map<String, MediaSlotModelConfig>? slots,
Map<String, CustomModelDefinition>? custom,
}) : slots = slots ?? {},
custom = custom ?? {};