ModelsConfig constructor

ModelsConfig({
  1. Map<String, MediaSlotModelConfig>? slots,
  2. 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 ?? {};