完成空安全转换

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

@@ -44,43 +44,43 @@ class GithubUser {
this.collaborators,
this.twoFactorAuthentication);
String login;
int id;
String nodeId;
String avatarUrl;
String gravatarId;
String url;
String htmlUrl;
String followersUrl;
String followingUrl;
String gistsUrl;
String starredUrl;
String subscriptionsUrl;
String organizationsUrl;
String reposUrl;
String eventsUrl;
String receivedEventsUrl;
String type;
bool siteAdmin;
String name;
String company;
String blog;
String location;
String email;
String starred;
String bio;
int publicRepos;
int publicGists;
int followers;
int following;
DateTime createdAt;
DateTime updatedAt;
int privateGists;
int totalPrivateRepos;
int ownedPrivateRepos;
int diskUsage;
int collaborators;
bool twoFactorAuthentication;
String? login;
int? id;
String? nodeId;
String? avatarUrl;
String? gravatarId;
String? url;
String? htmlUrl;
String? followersUrl;
String? followingUrl;
String? gistsUrl;
String? starredUrl;
String? subscriptionsUrl;
String? organizationsUrl;
String? reposUrl;
String? eventsUrl;
String? receivedEventsUrl;
String? type;
bool? siteAdmin;
String? name;
String? company;
String? blog;
String? location;
String? email;
String? starred;
String? bio;
int? publicRepos;
int? publicGists;
int? followers;
int? following;
DateTime? createdAt;
DateTime? updatedAt;
int? privateGists;
int? totalPrivateRepos;
int? ownedPrivateRepos;
int? diskUsage;
int? collaborators;
bool? twoFactorAuthentication;
factory GithubUser.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);