Returns a JSON representation of Code128Params.
Map<String, dynamic> toJson() { return {'EncodeMode': encodeMode}; }