Code128Params.fromJson(Map<String, dynamic> json) { encodeMode = Code128EncodeMode.fromJson(json['encodeMode']); }