toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final alias = this.alias;
  final source = this.source;
  final dataTransforms = this.dataTransforms;
  return {
    'Alias': alias,
    'Source': source,
    if (dataTransforms != null) 'DataTransforms': dataTransforms,
  };
}