RepoCommits class

Represents a collection of RepoCommit objects.

Annotations
  • @freezed

Constructors

RepoCommits({required List<RepoCommit> commits})
Creates a new instance of RepoCommits.
const
factory
RepoCommits.fromJson(Map<String, Object?> json)
Creates a new instance of RepoCommits from a JSON object.
factory

Properties

commits List<RepoCommit>
The list of RepoCommit objects.
no setterinherited
copyWith → $RepoCommitsCopyWith<RepoCommits>
Create a copy of RepoCommits with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this RepoCommits to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited