toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.disabled != null) {
json[r'disabled'] = this.disabled;
} else {
json[r'disabled'] = null;
}
if (this.disabledUntil != null) {
json[r'disabled_until'] = this.disabledUntil!.toUtc().toIso8601String();
} else {
json[r'disabled_until'] = null;
}
return json;
}