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