forked from lxm_flutter/FlutterUnit
完成空安全转换
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user