mirror of
https://gitlab.com/TheOneWithTheBraid/dart_pkpass.git
synced 2025-07-06 05:18:47 +00:00
fix: invalid JSON parser for eventTicket
Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
This commit is contained in:
parent
1c54863f7b
commit
c8b274c624
2 changed files with 5 additions and 5 deletions
|
@ -148,7 +148,7 @@ class PassMetadata {
|
|||
eventTicket: json['eventTicket'] == null
|
||||
? null
|
||||
: PassStructureDictionary.fromJson(
|
||||
(json['coupon'] as Map).cast<String, Object?>(),
|
||||
(json['eventTicket'] as Map).cast<String, Object?>(),
|
||||
),
|
||||
generic: json['generic'] == null
|
||||
? null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue