copyWith method

AssetQuote copyWith({
  1. String? symbol,
  2. String? name,
  3. Money? price,
  4. double? changePercent,
  5. Money? change24h,
  6. String? logoUrl,
})

Implementation

AssetQuote copyWith({
  String? symbol,
  String? name,
  Money? price,
  double? changePercent,
  Money? change24h,
  String? logoUrl,
}) =>
    AssetQuote(
      symbol: symbol ?? this.symbol,
      name: name ?? this.name,
      price: price ?? this.price,
      changePercent: changePercent ?? this.changePercent,
      change24h: change24h ?? this.change24h,
      logoUrl: logoUrl ?? this.logoUrl,
    );