copyWith method

Asset copyWith({
  1. String? id,
  2. String? name,
  3. String? symbol,
  4. String? image,
  5. List<Network>? networks,
})

Implementation

Asset copyWith({
  String? id,
  String? name,
  String? symbol,
  String? image,
  List<Network>? networks,
}) =>
    Asset(
      id: id ?? this.id,
      name: name ?? this.name,
      symbol: symbol ?? this.symbol,
      image: image ?? this.image,
      networks: networks ?? this.networks,
    );