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