cachedResult method

Future<Map?> cachedResult(
  1. String localIdentifier, {
  2. String? modelId,
})

Look up a cached scan record for localIdentifier without triggering a re-scan. Returns the wire-shape map (mirrors scanSingleAsset) when a row exists, or null on miss. Default throws.

Implementation

Future<Map<dynamic, dynamic>?> cachedResult(
  String localIdentifier, {
  String? modelId,
}) =>
    throw UnimplementedError(
        'cachedResult is not implemented by this platform');