GitTree class Null safety

Model class for a GitHub tree.

Annotations

Constructors

GitTree(String? sha, String? url, bool? truncated, List<GitTreeEntry>? entries)
GitTree.fromJson(Map<String, dynamic> input)
factory

Properties

entries List<GitTreeEntry>?
@JsonKey(name: 'tree'), read / write
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
sha String?
read / write
truncated bool?
If truncated is true, the number of items in the tree array exceeded GitHub's maximum limit.
read / write
url 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