Help_Link.fromJson constructor

Help_Link.fromJson(
  1. Object? j
)

Implementation

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