Repository class
Model class for a repository.
- Annotations
-
- @JsonSerializable()
Constructors
- Repository({String name = '', int id = 0, String fullName = '', UserInformation? owner, String htmlUrl = '', String description = '', String cloneUrl = '', String gitUrl = '', String sshUrl = '', String svnUrl = '', String defaultBranch = '', DateTime? createdAt, bool isPrivate = false, bool isFork = false, int stargazersCount = 0, int watchersCount = 0, String language = '', bool hasWiki = false, bool hasDownloads = false, int forksCount = 0, int openIssuesCount = 0, int subscribersCount = 0, int networkCount = 0, bool hasIssues = false, int size = 0, bool archived = false, bool disabled = false, String homepage = '', DateTime? updatedAt, DateTime? pushedAt, LicenseKind? license, bool hasPages = false, RepositoryPermissions? permissions})
-
Repository.fromJson(Map<
String, dynamic> input) -
factory
Properties
- archived → bool
-
final
- cloneUrl → String
-
final
- createdAt → DateTime?
-
The time the repository was created at
final
- defaultBranch → String
-
Repository Default Branch
final
- description → String
-
Repository Description
final
- disabled → bool
-
final
- forksCount → int
-
Number of Forks
final
- fullName → String
-
Full Repository Name
final
- gitUrl → String
-
final
- hasDownloads → bool
-
If the Repository has any Downloads
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasIssues → bool
-
If the Repository has Issues Enabled
final
- hasPages → bool
-
If the Repository has any Github Pages
final
- hasWiki → bool
-
If the Repository has the Wiki Enabled
final
- homepage → String
-
Url to the Repository Homepage
final
- htmlUrl → String
-
Url to the GitHub Repository Page
final
- id → int
-
Repository ID
final
- isFork → bool
-
If the Repository is a fork
final
- isPrivate → bool
-
If the Repository is Private
final
- language → String
-
Repository Language
final
- license → LicenseKind?
-
final
- name → String
-
Repository Name
final
- networkCount → int
-
Number of users in the network
final
- openIssuesCount → int
-
Number of Open Issues
final
- owner → UserInformation?
-
Repository Owner
final
- permissions ↔ RepositoryPermissions?
-
getter/setter pair
- pushedAt → DateTime?
-
The last time the repository was pushed at
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Repository Size
final
- sshUrl → String
-
final
- stargazersCount → int
-
Repository Stars
final
- subscribersCount → int
-
Number of Subscribers
final
- svnUrl → String
-
final
- updatedAt → DateTime?
-
final
- watchersCount → int
-
Repository Watchers
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
slug(
) → RepositorySlug - Gets the Repository Slug (Full Name).
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited