wholeAssetCondition function

bool wholeAssetCondition(
  1. String asset
)

unused but meant to verify a whole asset string such as: 'FANFT/RAVENHEAD24#PaintedRVN5'

Implementation

bool wholeAssetCondition(String asset) =>
    assetCondition(asset.split('/').first) &&
    asset
        .split('/')
        .getRange(1, asset.split('/').length)
        .every((String element) => subAssetCondition(element));