IssueLink.fromJson constructor

IssueLink.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory IssueLink.fromJson(Map<String, Object?> json) {
  return IssueLink(
    id: json[r'id'] as String?,
    inwardIssue: LinkedIssue.fromJson(
        json[r'inwardIssue'] as Map<String, Object?>? ?? const {}),
    outwardIssue: LinkedIssue.fromJson(
        json[r'outwardIssue'] as Map<String, Object?>? ?? const {}),
    self: json[r'self'] as String?,
    type: IssueLinkType.fromJson(
        json[r'type'] as Map<String, Object?>? ?? const {}),
  );
}