HTOverlayContext constructor

HTOverlayContext({
  1. String? root,
  2. Map<String, HTSource>? cache,
})

Implementation

HTOverlayContext({String? root, Map<String, HTSource>? cache})
    : _cached = cache ?? <String, HTSource>{} {
  root = root != null ? path.absolute(root) : path.current;
  this.root = getAbsolutePath(dirName: root);
}