toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
if (this.redirectUris != null) {
json[r'redirect_uris'] = this.redirectUris;
} else {
json[r'redirect_uris'] = null;
}
if (this.callbackUrl != null) {
json[r'callback_url'] = this.callbackUrl;
} else {
json[r'callback_url'] = null;
}
if (this.scopes != null) {
json[r'scopes'] = this.scopes;
} else {
json[r'scopes'] = null;
}
if (this.public != null) {
json[r'public'] = this.public;
} else {
json[r'public'] = null;
}
return json;
}