CommitFile class Null safety

Model class of a file that was changed in a commit.

Annotations

Constructors

CommitFile({String? name, int? additions, int? deletions, int? changes, String? status, String? rawUrl, String? blobUrl, String? patch})
CommitFile.fromJson(Map<String, dynamic> input)
factory

Properties

additions int?
read / write
blobUrl String?
@JsonKey(name: 'blob_url'), read / write
changes int?
read / write
deletions int?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
@JsonKey(name: 'filename'), read / write
patch String?
read / write
rawUrl String?
@JsonKey(name: 'raw_url'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String?
read / write

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. [...]
inherited

Operators

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