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:
The one with the braid 2023-09-08 09:07:45 +02:00
parent 1c54863f7b
commit c8b274c624
2 changed files with 5 additions and 5 deletions

View file

@ -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