ContributorWeekStatistics class Null safety

Model class to represent the number of additions, deletions and commits a contributor made in a given week.

Annotations

Constructors

ContributorWeekStatistics(int? start, int? additions, int? deletions, int? commits)
ContributorWeekStatistics.fromJson(Map<String, dynamic> input)
factory

Properties

additions int?
Number of Additions
@JsonKey(name: 'a'), final
commits int?
Number of Commits
@JsonKey(name: 'c'), final
deletions int?
Number of Deletions
@JsonKey(name: 'd'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
start int?
Beginning of the Week (As a Unix Timestamp)
@JsonKey(name: 'w'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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