toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.untilSeconds != null) {
json[r'untilSeconds'] = this.untilSeconds;
} else {
json[r'untilSeconds'] = null;
}
if (this.forever != null) {
json[r'forever'] = this.forever;
} else {
json[r'forever'] = null;
}
if (this.accountId != null) {
json[r'accountId'] = this.accountId;
} else {
json[r'accountId'] = null;
}
return json;
}