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