DataSource.file constructor

DataSource.file(
  1. String fileUri
)

Creates a new File DataSource object with the given uri and type.

Implementation

factory DataSource.file(String fileUri) {
  return DataSource._(fileUri, DataSourceType.file);
}