toMap method
Implementation
@override
Map<String, dynamic> toMap() {
final Map<String, dynamic> param = {
AiuiConstant.keyDataType: dataType.name,
AiuiConstant.keyTag: tag ?? dataType.tag,
AiuiConstant.keySampleRate: sampleRate,
AiuiConstant.keyDwa: dwa,
};
param.removeWhere(_isNull);
return param;
}