containsAsset method

bool containsAsset(
  1. AssetEntity asset
)

Implementation

bool containsAsset(AssetEntity asset) =>
    firstWhereOrNull((AssetModel element) => element.id == asset.id) != null;