toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'path': path,
'langType': langType ?? 'zh',
'orientation': orientation ?? orientationAuto,
'resultType': resultType ?? resultAll,
'rectMode': rectMode ?? strictMode,
};
}