toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.connected != null) {
json[r'connected'] = this.connected;
} else {
json[r'connected'] = null;
}
if (this.grant != null) {
json[r'grant'] = this.grant;
} else {
json[r'grant'] = null;
}
if (this.htmlUrl != null) {
json[r'htmlUrl'] = this.htmlUrl;
} else {
json[r'htmlUrl'] = null;
}
if (this.login != null) {
json[r'login'] = this.login;
} else {
json[r'login'] = null;
}
if (this.type != null) {
json[r'type'] = this.type;
} else {
json[r'type'] = null;
}
return json;
}