Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -93,7 +93,8 @@ class Barcode { | @@ -93,7 +93,8 @@ class Barcode { | ||
| 93 | /// Create a [Barcode] from native data. | 93 | /// Create a [Barcode] from native data. |
| 94 | Barcode.fromNative(Map data) | 94 | Barcode.fromNative(Map data) |
| 95 | : corners = toCorners( | 95 | : corners = toCorners( |
| 96 | - (data['corners'] as List?)?.cast<Map<Object?, Object?>>()), | 96 | + (data['corners'] as List?)?.cast<Map<Object?, Object?>>(), |
| 97 | + ), | ||
| 97 | format = toFormat(data['format'] as int), | 98 | format = toFormat(data['format'] as int), |
| 98 | rawBytes = data['rawBytes'] as Uint8List?, | 99 | rawBytes = data['rawBytes'] as Uint8List?, |
| 99 | rawValue = data['rawValue'] as String?, | 100 | rawValue = data['rawValue'] as String?, |
-
Please register or login to post a comment