CreateRepository class Null safety

Model class for a new repository to be created.



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)


autoInit bool?
If GitHub should auto initialize the repository.
read / write
description String?
Repository Description
read / write
gitignoreTemplate String?
.gitignore template (only when autoInit is true)
@OnlyWhen('autoInit is true'), read / write
hasDownloads bool?
If the repository should have downloads enabled.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasIssues bool?
If the repository should have issues enabled.
read / write
hasWiki bool?
If the repository should have the wiki enabled.
read / write
homepage String?
Repository Homepage
read / write
licenseTemplate String?
License template (only when autoInit is true)
@OnlyWhen('autoInit is true'), read / write
name String?
Repository Name
private bool?
If the repository should be private or not.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
teamId int?
The Team ID (Only for Creating a Repository for an Organization)
@OnlyWhen('Creating a repository for an organization'), read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


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