isTheSameAsset static method

bool isTheSameAsset(
  1. AssetEntity asset,
  2. ImageObject image
)

Check asset & image file is the same asset or not.

Implementation

static bool isTheSameAsset(AssetEntity asset, ImageObject image) {
  return asset.id == image.assetId;
}