copyWith method
Implementation
DataSource copyWith({
File? file,
String? source,
String? package,
DataSourceType? type,
Map<String, String>? httpHeaders,
}) {
return DataSource(
file: file ?? this.file,
source: source ?? this.source,
type: type ?? this.type,
package: package ?? this.package,
httpHeaders: httpHeaders ?? this.httpHeaders,
);
}