toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final languageCode = this.languageCode;
final selectorSettings = this.selectorSettings;
return {
'name': name,
if (languageCode != null) 'languageCode': languageCode,
if (selectorSettings != null) 'selectorSettings': selectorSettings,
};
}