getAssetCount method
Implementation
Future<int> getAssetCount({
PMFilter? filterOption,
RequestType type = RequestType.common,
}) {
final filter = filterOption ?? PMFilter.defaultValue();
return _channel.invokeMethod<int>(PMConstants.mGetAssetCount, {
'type': type.value,
'option': filter.toMap(),
}).then((v) => v ?? 0);
}