From ec0b8070b53d825c2df6006c632bf40f5e32c0d9 Mon Sep 17 00:00:00 2001 From: Julian Steenbakker Date: Thu, 25 Mar 2021 11:10:52 +0100 Subject: [PATCH] refactor: barcode code to non nullable --- lib/src/types/barcode.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/types/barcode.dart b/lib/src/types/barcode.dart index 091c79a..9627a9f 100644 --- a/lib/src/types/barcode.dart +++ b/lib/src/types/barcode.dart @@ -8,7 +8,7 @@ import 'barcode_format.dart'; class Barcode { Barcode(this.code, this.format, this.rawBytes); - final String? code; + final String code; final BarcodeFormat format; /// Raw bytes are only supported by Android.