isAsset function

bool isAsset(
  1. String? path
)

Returns whether the passed path refers to one of the stored EzConfig.assets

Implementation

bool isAsset(String? path) {
  return EzConfig.instance.assets.contains(path);
}