Rate copyWith({String? from, String? to, num? rate}) { return Rate( from: from ?? this.from, to: to ?? this.to, rate: rate ?? this.rate, ); }