assetExistsWithId method

Future<bool> assetExistsWithId(
  1. String id
)

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;
}