getAssetCountFromPath method

Future<int> getAssetCountFromPath(
  1. AssetPathEntity path
)

Implementation

Future<int> getAssetCountFromPath(AssetPathEntity path) async {
  final int result = await _channel.invokeMethod(
    PMConstants.mGetAssetCountFromPath,
    <String, dynamic>{
      'id': path.id,
      'type': path.type.value,
      'option': path.filterOption.toMap(),
    },
  );
  return result;
}