getPath method

String? getPath(
  1. Brick brick
)

Returns the local path to the brick if it is included in the cache. Returns null if the brick has not been cached.

Implementation

String? getPath(Brick brick) {
  return brick.name != null ? _cache[brick.name] : null;
}