add static method

void add(
  1. String key,
  2. dynamic file
)

Implementation

static void add(String key, dynamic file) {
  if (enabled == false) return;
  //print( 'THREE.Cache Adding key: $key');
  files[key] = file;
}