updateResource method

  1. @override
void updateResource(
  1. String fullName,
  2. HTSource resource
)
override

Implementation

@override
void updateResource(String fullName, HTSource resource) {
  if (_cached.containsKey(fullName)) {
    // final source = _cached[normalized]!;
    // source.content = resource;
    _cached[fullName] = resource;
    return;
  }
  throw HTError.resourceDoesNotExist(fullName);
}