IssueArchivalSyncResponse.fromJson constructor

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

Implementation

factory IssueArchivalSyncResponse.fromJson(Map<String, Object?> json) {
  return IssueArchivalSyncResponse(
    errors: json[r'errors'] != null
        ? Errors.fromJson(json[r'errors']! as Map<String, Object?>)
        : null,
    numberOfIssuesUpdated: (json[r'numberOfIssuesUpdated'] as num?)?.toInt(),
  );
}