getAssetCountFromPath method

Future<int> getAssetCountFromPath(
  1. AssetPathEntity path
)

Implementation

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