urls property

  1. @override
Iterable<Url> urls
override

The list of urls that are configured for the brick

Implementation

@override
Iterable<Url> get urls sync* {
  final configs = urlConfigs;
  if (configs == null) {
    return;
  }

  for (final MapEntry(key: path, value: config) in configs.entries) {
    yield UrlImpl(
      config,
      path: join(sourcePath, path),
    );
  }
}