DataSource constructor
DataSource({})
Implementation
DataSource({
this.file,
this.source,
required this.type,
this.package,
this.httpHeaders,
}) : assert((type == DataSourceType.file && file != null) || source != null);