mirror of
https://gitlab.com/TheOneWithTheBraid/dart_pkpass.git
synced 2025-07-05 12:58:47 +00:00
fix: codestyle
Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
parent
bc8e56d59d
commit
d34546b8bc
2 changed files with 5 additions and 2 deletions
|
@ -80,8 +80,10 @@ class PassBarcode {
|
|||
supportedCodecs[(json['messageEncoding'] as String).toLowerCase()]!;
|
||||
return PassBarcode(
|
||||
format: _allowedFormats[json['format']]!,
|
||||
barcodeData:
|
||||
Uint8List.fromList(messageEncoding.encode((json['message'] as String).replaceAll('\\', '\\\\'))),
|
||||
barcodeData: Uint8List.fromList(
|
||||
messageEncoding
|
||||
.encode((json['message'] as String).replaceAll('\\', '\\\\')),
|
||||
),
|
||||
messageEncoding: messageEncoding,
|
||||
altText: json['altText'] as String?,
|
||||
);
|
||||
|
|
|
@ -5,6 +5,7 @@ import 'package:archive/archive.dart';
|
|||
import 'package:charset/charset.dart';
|
||||
import 'package:crypto/crypto.dart';
|
||||
import 'package:intl/locale.dart';
|
||||
|
||||
import 'package:pkpass/pkpass.dart';
|
||||
import 'package:pkpass/pkpass/utils/file_matcher.dart';
|
||||
import 'package:pkpass/pkpass/utils/lproj_parser.dart';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue