assetExistsWithId method
Check whether the asset has been deleted.
Implementation
Future<bool> assetExistsWithId(String id) async {
final bool? result = await _channel.invokeMethod(
PMConstants.mAssetExists,
<String, dynamic>{'id': id},
);
return result ?? false;
}