getInstanceCount method

  1. @override
Future<int> getInstanceCount(
  1. ThermionEntity entity
)
override

Returns the number of instances of the asset associated with entity.

Implementation

@override
Future<int> getInstanceCount(ThermionEntity entity) async {
  return (await _shim.getInstanceCount(entity).toDart).toDartInt;
}