fromId static method

Future<AssetEntity?> fromId(
  1. String id
)

Create from AssetEntity.id, not recommended.

Implementation

static Future<AssetEntity?> fromId(String id) async {
  try {
    return await PhotoManager.refreshAssetProperties(id);
  } catch (e) {
    return null;
  }
}