exists abstract method
Checks whether the underlying resource exists.
Returns true
if the asset is available, otherwise false
.
Example
if (resource.exists()) {
print("Asset is available!");
}
Implementation
bool exists();
Checks whether the underlying resource exists.
Returns true
if the asset is available, otherwise false
.
if (resource.exists()) {
print("Asset is available!");
}
bool exists();