toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (defaultServerLocale != null) {
    _json[r'DefaultServerLocale'] = defaultServerLocale;
  }
  if (defaultClientLocale != null) {
    _json[r'DefaultClientLocale'] = defaultClientLocale;
  }
  if (availableLocales != null) {
    _json[r'AvailableLocales'] = availableLocales;
  }
  return _json;
}