containsAssetWithText method
Returns true if any asset under this market contains the text.
Implementation
bool containsAssetWithText(String text) =>
containsText(text) ||
subMarkets.firstWhereOrNull(
(SubMarket? subMarket) => subMarket!.containsAssetWithText(text),
) !=
null;