Errors.fromJson constructor

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

Implementation

factory Errors.fromJson(Map<String, Object?> json) {
  return Errors(
    issueIsSubtask: json[r'issueIsSubtask'] != null
        ? Error.fromJson(json[r'issueIsSubtask']! as Map<String, Object?>)
        : null,
    issuesInArchivedProjects: json[r'issuesInArchivedProjects'] != null
        ? Error.fromJson(
            json[r'issuesInArchivedProjects']! as Map<String, Object?>)
        : null,
    issuesInUnlicensedProjects: json[r'issuesInUnlicensedProjects'] != null
        ? Error.fromJson(
            json[r'issuesInUnlicensedProjects']! as Map<String, Object?>)
        : null,
    issuesNotFound: json[r'issuesNotFound'] != null
        ? Error.fromJson(json[r'issuesNotFound']! as Map<String, Object?>)
        : null,
  );
}