GithubRepoView class

Constructors

GithubRepoView({String? defaultBranch, String? fullName, String? htmlUrl, bool? imported, String? lastSyncedAt, String? name, bool? private, String? syncStatus})
Returns a new GithubRepoView instance.

Properties

defaultBranch ↔ String?
DefaultBranch is the repo's default branch at GitHub.
getter/setter pair
fullName ↔ String?
FullName is GitHub's owner/name.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
htmlUrl ↔ String?
HTMLURL is the repo's page at GitHub.
getter/setter pair
imported ↔ bool?
Imported is whether this repo has been mirrored into git.hanzo.ai.
getter/setter pair
lastSyncedAt ↔ String?
LastSyncedAt is the last successful mirror, RFC 3339 UTC. Absent if never.
getter/setter pair
name ↔ String?
Name is the repository's short name within the installation.
getter/setter pair
private ↔ bool?
Private is GitHub's visibility bit for the repo.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
syncStatus ↔ String?
SyncStatus is "synced", "conflict", or "" when the repo is not imported.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
override

Static Methods

fromJson(dynamic value) → GithubRepoView?
Returns a new GithubRepoView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GithubRepoView>
mapFromJson(dynamic json) → Map<String, GithubRepoView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GithubRepoView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.