refreshAssetProperties static method
Refresh the property of asset.
Implementation
static Future<AssetEntity?> refreshAssetProperties(String id) async {
final Map? map = await _plugin.getPropertiesFromAssetEntity(id);
final asset = ConvertUtils.convertToAsset(map);
if (asset == null) {
return null;
}
return asset;
}