assets static method

AssetFolder assets()

Get a node by path (folder or file)

Implementation

static AssetFolder assets() {
  if (!_initialized) {
    throw StateError('Assets.init() must be called first.');
  }

  return _root;
 }