copyWith method

Currency copyWith({
  1. String? code,
  2. String? name,
  3. String? symbol,
})

Implementation

Currency copyWith({
  String? code,
  String? name,
  String? symbol,
}) =>
    Currency(
      code: code ?? this.code,
      name: name ?? this.name,
      symbol: symbol ?? this.symbol,
    );