toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataSource = this.dataSource;
  final dataAttributes = this.dataAttributes;
  return {
    'DataSource': dataSource,
    if (dataAttributes != null) 'DataAttributes': dataAttributes,
  };
}