IssueSecurityLevelMember.fromJson constructor

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

Implementation

factory IssueSecurityLevelMember.fromJson(Map<String, Object?> json) {
  return IssueSecurityLevelMember(
    holder: PermissionHolder.fromJson(
        json[r'holder'] as Map<String, Object?>? ?? const {}),
    id: (json[r'id'] as num?)?.toInt() ?? 0,
    issueSecurityLevelId:
        (json[r'issueSecurityLevelId'] as num?)?.toInt() ?? 0,
  );
}