toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "forks": forks,
      "stars": stars,
      "subscribers": subscribers,
      "total_issues": totalIssues,
      "closed_issues": closedIssues,
      "pull_requests_merged": pullRequestsMerged,
      "pull_request_contributors": pullRequestContributors,
      "code_additions_deletions_4_weeks":
          codeAdditionsDeletions4Weeks.toJson(),
      "commit_count_4_weeks": commitCount4Weeks,
      "last_4_weeks_commit_activity_series":
          List<dynamic>.from(last4WeeksCommitActivitySeries.map((x) => x)),
    };