toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.account != null) {
json[r'account'] = this.account;
} else {
json[r'account'] = null;
}
if (this.authorizeUrl != null) {
json[r'authorizeUrl'] = this.authorizeUrl;
} else {
json[r'authorizeUrl'] = null;
}
if (this.connected != null) {
json[r'connected'] = this.connected;
} else {
json[r'connected'] = null;
}
if (this.externalId != null) {
json[r'externalId'] = this.externalId;
} else {
json[r'externalId'] = null;
}
if (this.provider != null) {
json[r'provider'] = this.provider;
} else {
json[r'provider'] = null;
}
json[r'scopes'] = this.scopes;
return json;
}