toMap method

Map<String, String?> toMap()

Implementation

Map<String, String?> toMap() => {
      AiuiConstant.keyDataSource: dataSource.name,
      AiuiConstant.keyWakeupMode: wakeupMode.name,
      AiuiConstant.keyIntentEngineType: intentEngineType?.name,
      AiuiConstant.keyInteractMode: interactMode.name
    };