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