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