isFmatIndexAssetKey static method

bool isFmatIndexAssetKey(
  1. String assetKey
)

Returns true when assetKey is a generated .fmat DataAssets index.

Implementation

static bool isFmatIndexAssetKey(String assetKey) =>
    assetKey.startsWith('packages/') &&
    assetKey.contains(_indexAssetPrefix) &&
    assetKey.endsWith(_indexAssetSuffix);