toMap method

Map<String, String?> toMap()

Implementation

Map<String, String?> toMap() => {
      AiuiConstant.keyVadEnable: vadEnable == false ? '0' : '1',
      AiuiConstant.keyEngineType: engineType,
      AiuiConstant.keyResType: resType?.name,
      AiuiConstant.keyResPath: resPath,
      AiuiConstant.keyVadEos: vadEos?.toString(),
      AiuiConstant.keyVadBos: vadBos?.toString(),
      AiuiConstant.keyCloudVadEos: cloudVadEos?.toString(),
      AiuiConstant.keyCloudVadGap: cloudVadGap?.toString(),
    };