Fields.fromJson constructor
Implementation
factory Fields.fromJson(Map<String, Object?> json) {
return Fields(
assignee: json[r'assignee'] != null
? UserDetails.fromJson(json[r'assignee']! as Map<String, Object?>)
: null,
issueType: json[r'issueType'] != null
? IssueTypeDetails.fromJson(
json[r'issueType']! as Map<String, Object?>)
: null,
issuetype: json[r'issuetype'] != null
? IssueTypeDetails.fromJson(
json[r'issuetype']! as Map<String, Object?>)
: null,
priority: json[r'priority'] != null
? Priority.fromJson(json[r'priority']! as Map<String, Object?>)
: null,
status: json[r'status'] != null
? StatusDetails.fromJson(json[r'status']! as Map<String, Object?>)
: null,
summary: json[r'summary'] as String?,
timetracking: json[r'timetracking'] != null
? TimeTrackingDetails.fromJson(
json[r'timetracking']! as Map<String, Object?>)
: null,
);
}