SourceConfig.createFromUrl constructor

SourceConfig.createFromUrl(
  1. String url,
  2. SourceType type
)

Creates a SourceConfig from the given url and type

Implementation

factory SourceConfig.createFromUrl(String url, SourceType type) {
  return SourceConfig(url: url, type: type);
}