Amount copyWith({ BigInt? value, int? decimals, }) { if (value == null && decimals == null) return this; return Amount( value: value ?? this.value, decimals: decimals ?? this.decimals, ); }