addAsset method

void addAsset(
  1. AssetModel asset
)

Implementation

void addAsset(AssetModel asset) {
  value = <AssetModel>[...value, asset];
}