完成空安全转换

This commit is contained in:
toly
2021-08-29 11:29:45 +08:00
parent 8a5a57f5ac
commit 5806f35f54
319 changed files with 2638 additions and 2019 deletions

View File

@@ -8,85 +8,85 @@ import 'repository_permissions.dart';
part 'g/repository.g.dart';
class Repository {
int id;
int? id;
int size;
int? size;
String name;
String? name;
String fullName;
String? fullName;
String htmlUrl;
String? htmlUrl;
String description;
String? description;
String language;
String? language;
String defaultBranch;
String? defaultBranch;
DateTime createdAt;
DateTime? createdAt;
DateTime updatedAt;
DateTime? updatedAt;
DateTime pushedAt;
DateTime? pushedAt;
String gitUrl;
String? gitUrl;
String sshUrl;
String? sshUrl;
String cloneUrl;
String? cloneUrl;
String svnUrl;
String? svnUrl;
int stargazersCount;
int? stargazersCount;
int watchersCount;
int? watchersCount;
int forksCount;
int? forksCount;
int openIssuesCount;
int? openIssuesCount;
int subscribersCount;
int? subscribersCount;
bool private;
bool? private;
bool fork;
bool? fork;
bool hasIssues;
bool? hasIssues;
bool hasProjects;
bool? hasProjects;
bool hasDownloads;
bool? hasDownloads;
bool hasWiki;
bool? hasWiki;
bool hasPages;
bool? hasPages;
GithubUser owner;
GithubUser? owner;
License license;
License? license;
Repository parent;
Repository? parent;
RepositoryPermissions permissions;
RepositoryPermissions? permissions;
List<String> topics;
List<String>? topics;
int allIssueCount;
int? allIssueCount;
Repository(
this.id,