This commit is contained in:
sneurlax 2023-01-25 13:44:04 -06:00
parent 10c5a0a4b3
commit 2d7a50a5a1

View file

@ -41,21 +41,4 @@ class Crypto {
return map;
}
Crypto copyWith({
String? ticker,
String? name,
}) {
return Crypto(
ticker: ticker ?? this.ticker,
name: name ?? this.name,
network: network ?? this.network,
contractAddress: contractAddress ?? this.contractAddress,
);
}
@override
String toString() {
return "Crypto: ${toJson()}";
}
}