David PHAM-VAN

Fix graphic state operator

@@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
5 - Use the Barcode library to generate QR-Codes 5 - Use the Barcode library to generate QR-Codes
6 - Fix Jpeg size detection 6 - Fix Jpeg size detection
7 - Update dependency to Barcode 1.8.0 7 - Update dependency to Barcode 1.8.0
  8 +- Fix graphic state operator
8 9
9 ## 1.6.1 10 ## 1.6.1
10 11
@@ -40,7 +40,7 @@ class PdfGraphicState { @@ -40,7 +40,7 @@ class PdfGraphicState {
40 40
41 @override 41 @override
42 bool operator ==(dynamic other) { 42 bool operator ==(dynamic other) {
43 - if (!other is PdfGraphicState) { 43 + if (!(other is PdfGraphicState)) {
44 return false; 44 return false;
45 } 45 }
46 return other.opacity == opacity; 46 return other.opacity == opacity;