toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourceName = this.sourceName;
  final defaultValue = this.defaultValue;
  final language = this.language;
  final separator = this.separator;
  return {
    'SourceName': sourceName,
    if (defaultValue != null) 'DefaultValue': defaultValue,
    if (language != null) 'Language': language,
    if (separator != null) 'Separator': separator,
  };
}