Items.fromJson constructor
Items.fromJson(
- Object? j
Implementation
factory Items.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Items(
key: switch (json['key']) {
null => null,
Object $1 => decodeString($1),
},
value: switch (json['value']) {
null => null,
Object $1 => decodeString($1),
},
);
}