exists 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
@override
bool exists() => _asset != null;