UrlImpl constructor

UrlImpl(
  1. UrlConfig config, {
  2. required String path,
})

A url is a collection of files that can be copied, altered, and/or generated into a new project.

Implementation

UrlImpl(
  super.config, {
  required this.path,
})  : name = config.nameConfig == null
          ? NameImpl(
              NameConfig(renameWith: basename(path)),
              originalName: basename(path),
            )
          : NameImpl(
              config.nameConfig!,
              originalName: basename(path),
            ),
      include = config.includeConfig == null
          ? null
          : IncludeImpl(config.includeConfig!);