Returns a JSON representation of HanXinParams.
Map<String, dynamic> toJson() { return { 'EncodeMode': encodeMode, 'ErrorLevel': errorLevel, 'Version': version, 'ECIEncoding': eCIEncoding }; }