copyWith method
Exchange
copyWith(
{ - String? id,
- String? name,
- int? yearEstablished,
- String? country,
- dynamic description,
- String? url,
- String? image,
- bool? hasTradingIncentive,
- int? trustScore,
- int? trustScoreRank,
- double? tradeVolume24hBtc,
- double? tradeVolume24hBtcNormalized,
- Map<String, dynamic> json = const {},
})
Implementation
Exchange copyWith({
String? id,
String? name,
int? yearEstablished,
String? country,
dynamic description,
String? url,
String? image,
bool? hasTradingIncentive,
int? trustScore,
int? trustScoreRank,
double? tradeVolume24hBtc,
double? tradeVolume24hBtcNormalized,
Map<String,dynamic> json=const{}
}) {
return Exchange(
id: id ?? this.id,
name: name ?? this.name,
yearEstablished: yearEstablished ?? this.yearEstablished,
country: country ?? this.country,
description: description ?? this.description,
url: url ?? this.url,
image: image ?? this.image,
hasTradingIncentive: hasTradingIncentive ?? this.hasTradingIncentive,
trustScore: trustScore ?? this.trustScore,
trustScoreRank: trustScoreRank ?? this.trustScoreRank,
tradeVolume24hBtc: tradeVolume24hBtc ?? this.tradeVolume24hBtc,
tradeVolume24hBtcNormalized:
tradeVolume24hBtcNormalized ?? this.tradeVolume24hBtcNormalized,
json: json
);
}