RepoCommits constructor

  1. @jsonSerializable
const RepoCommits({
  1. required List<RepoCommit> commits,
})

Creates a new instance of RepoCommits.

The commits parameter is required and should be a list of RepoCommit objects.

Implementation

@jsonSerializable
const factory RepoCommits({
  /// The list of [RepoCommit] objects.
  required List<RepoCommit> commits,
}) = _RepoCommits;