mirror of
https://gitlab.com/TheOneWithTheBraid/dart_pkpass.git
synced 2025-07-05 12:58:47 +00:00
Merge branch 'value-tostring' into 'main'
fix: convert field value to String instead of casting See merge request TheOneWithTheBraid/dart_pkpass!3
This commit is contained in:
commit
4fd0189af8
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class DictionaryField {
|
|||
factory DictionaryField.fromJson(Map<String, Object?> json) =>
|
||||
DictionaryField(
|
||||
key: json['key'] as String,
|
||||
value: DictionaryValue.parse(json['value'] as String),
|
||||
value: DictionaryValue.parse(json['value'].toString()),
|
||||
attributedValue: json['attributedValue'] == null
|
||||
? null
|
||||
: DictionaryValue.parse(json['attributedValue'] as String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue