ServiceDeskDTO.fromJson constructor

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

Implementation

factory ServiceDeskDTO.fromJson(Map<String, Object?> json) {
  return ServiceDeskDTO(
    links: json[r'_links'] != null
        ? SelfLinkDTO.fromJson(json[r'_links']! as Map<String, Object?>)
        : null,
    id: json[r'id'] as String?,
    projectId: json[r'projectId'] as String?,
    projectKey: json[r'projectKey'] as String?,
    projectName: json[r'projectName'] as String?,
  );
}