CreateRepository class

Model class for a new repository to be created.

Annotations
  • @JsonSerializable()

Constructors

CreateRepository(String? name, {String? description, String? homepage, bool? private, bool? hasIssues, bool? hasDownloads, int? teamId, bool? autoInit, String? gitignoreTemplate, String? licenseTemplate, bool? hasWiki})
CreateRepository.fromJson(Map<String, dynamic> input)
factory

Properties

autoInit bool?
If GitHub should auto initialize the repository.
getter/setter pair
description String?
Repository Description
getter/setter pair
gitignoreTemplate String?
.gitignore template (only when autoInit is true)
getter/setter pair
hasDownloads bool?
If the repository should have downloads enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasIssues bool?
If the repository should have issues enabled.
getter/setter pair
hasWiki bool?
If the repository should have the wiki enabled.
getter/setter pair
homepage String?
Repository Homepage
getter/setter pair
licenseTemplate String?
License template (only when autoInit is true)
getter/setter pair
name String?
Repository Name
final
private bool?
If the repository should be private or not.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
teamId int?
The Team ID (Only for Creating a Repository for an Organization)
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.
inherited

Operators

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