isLocallyAvailable method

  1. @override
Future<bool> isLocallyAvailable(
  1. String id
)
override

Whether the full asset exists on the device right now.

Always true on Android. On iOS/macOS with Optimize Storage a thumbnail can render perfectly while the asset itself lives only in iCloud, which is why this is a pre-flight rather than a surprise at export (design ยง4.5).

Implementation

@override
Future<bool> isLocallyAvailable(String id) async =>
    !locallyUnavailable.contains(id);