toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.claims != null) {
json[r'claims'] = this.claims;
} else {
json[r'claims'] = null;
}
json[r'scopes'] = this.scopes;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.subject != null) {
json[r'subject'] = this.subject;
} else {
json[r'subject'] = null;
}
if (this.secondsUntilExpiration != null) {
json[r'seconds_until_expiration'] = this.secondsUntilExpiration;
} else {
json[r'seconds_until_expiration'] = null;
}
return json;
}